From 682b29d9b5aa22b4ac659d6f29104a5433f20261 Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Sat, 17 Aug 2002 22:12:23 +0000 Subject: [PATCH] damn it damn it damn it git-svn-id: file:///svn/phpbb/trunk@2868 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/install/update_script.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/phpBB/install/update_script.php b/phpBB/install/update_script.php index 34779bf3c8..fd459afcc6 100644 --- a/phpBB/install/update_script.php +++ b/phpBB/install/update_script.php @@ -431,12 +431,12 @@ switch ( $this_version ) { gen_str_init("* Decoding $table.$field"); - $db->sql_return_on_fail(true); + $db->sql_return_on_error(true); $sql = "SELECT MAX($field) AS max_id FROM " . $table_prefix . "$table"; if ( $result = $db->sql_query($sql) ) { - $db->sql_return_on_fail(false); + $db->sql_return_on_error(false); $row = $db->sql_fetchrow($result); $db->sql_freeresult($result); @@ -471,7 +471,7 @@ switch ( $this_version ) gen_str_ok(); } - $db->sql_return_on_fail(false); + $db->sql_return_on_error(false); } }