Update of /cvsroot/phpwebsite-comm/modules/article/boost
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17093/boost
Modified Files:
update.php
Log Message:
2.3 Bugfixes
Index: update.php
===================================================================
RCS file: /cvsroot/phpwebsite-comm/modules/article/boost/update.php,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** update.php 18 Jun 2004 23:30:29 -0000 1.6
--- update.php 2 Jul 2004 22:36:13 -0000 1.7
***************
*** 229,233 ****
. 'Fixing Year Display Minimums.<br />';
$sql = 'UPDATE mod_article_config SET default_year_count=1 WHERE default_year_count=0';
! $result = $GLOBALS['core']->query($sql);
if(DB::isError($result)) {
$content .= 'There was an error while attempting to update the mod_article_config table:<br />'
--- 229,233 ----
. 'Fixing Year Display Minimums.<br />';
$sql = 'UPDATE mod_article_config SET default_year_count=1 WHERE default_year_count=0';
! $result = $GLOBALS['core']->query($sql, true);
if(DB::isError($result)) {
$content .= 'There was an error while attempting to update the mod_article_config table:<br />'
***************
*** 236,240 ****
}
else {
! $content .= 'Update to 2.2 Finished!<br />';
}
}
--- 236,240 ----
}
else {
! $content .= 'Update to 2.3 Finished!<br />';
}
}
|