Project

General

Profile

« Previous | Next » 

Revision 578

Added by thorn almost 17 years ago

fixed a typo in upgrade-script.php

View differences:

trunk/CHANGELOG
16 16
#	fixed E_NOTICE-warning in save.php when input data was wrong
17 17
+	added the new admin tool email output filter which allows to transform
18 18
	emails before displaying them on the frontend
19
20-Jan-2008 Thomas Hornik
19
20-Jan-2008 Thomas Hornik
20
#	fixed a typo in upgrade-script.php
20 21
!	updated admin/pages/sections.php to changed jscalendar-api from changeset 571
21 22
!	module menu_link: after adding a menu_link, the anchor dropdown shows "#"; fixed 
22 23
#	fixed E_NOTICE-warning in news-module (about SECTION_ID in comment.php)
trunk/wb/upgrade-script.php
66 66
		echo "$key: allready there. $OK.<br />";
67 67
		return true;
68 68
	} else {
69
		$database->query("INSERT INTO D".TABLE_PREFIX."search (name,value,extra) VALUES ('$key', '$value', '')");
69
		$database->query("INSERT INTO ".TABLE_PREFIX."search (name,value,extra) VALUES ('$key', '$value', '')");
70 70
		echo mysql_error()?'<br />':'';
71 71
		$query = $database->query("SELECT value FROM ".TABLE_PREFIX."search WHERE name = '$key' LIMIT 1");
72 72
		if($query->numRows() > 0) {

Also available in: Unified diff