Revision 943
Added by doc almost 16 years ago
trunk/CHANGELOG | ||
---|---|---|
12 | 12 |
|
13 | 13 |
------------------------------------- 2.8.0 ------------------------------------- |
14 | 14 |
21-Feb-2009 Christian Sommer |
15 |
+ added update of search table missing in Changeset 941 |
|
15 | 16 |
# fixed wrong index in language array |
16 | 17 |
! removed some comment lines (changes are tracked by SVN) |
17 | 18 |
20-Feb-2009 Dietrich Roland Pehlke (aldus) |
trunk/wb/upgrade-script.php | ||
---|---|---|
176 | 176 |
|
177 | 177 |
|
178 | 178 |
/********************************************************** |
179 |
* - Update search no results database filed to create |
|
180 |
* valid XHTML if search is empty |
|
181 |
*/ |
|
182 |
echo "<br />Updating database field `no_results` of search table: "; |
|
183 |
$search_no_results = addslashes('<tr><td><p>[TEXT_NO_RESULTS]</p></td></tr>'); |
|
184 |
$sql = "UPDATE `" . TABLE_PREFIX . "search` SET `value` = '$search_no_results' WHERE `name`= 'no_results'"; |
|
185 |
$database->query($sql); |
|
186 |
echo ($database->query($sql)) ? " $OK<br />" : " $FAIL<br />"; |
|
187 |
|
|
188 |
/********************************************************** |
|
179 | 189 |
* - End of upgrade script |
180 | 190 |
*/ |
181 | 191 |
echo '<p style="font-size:120%;"><strong>Congratulations: The upgrade script is finished ...</strong></p>'; |
Also available in: Unified diff
added update of search table missing in Changeset 941