diff --git a/ChangeLog b/ChangeLog index c38200faa..39dc59e11 100755 --- a/ChangeLog +++ b/ChangeLog @@ -8,6 +8,7 @@ $Source$ 2001-08-10 Marc Delisle * russian updates (2 files) thanks to Max Zhivluck * slovak updates thanks to Lubos Klokner + * defines.inc.php3, bug 449800, missing @ 2001-08-10 Steve Alberty * defines.inc.php3: improve mysql version query, thanks to diff --git a/defines.inc.php3 b/defines.inc.php3 index e6b9abd46..ad3ffaada 100755 --- a/defines.inc.php3 +++ b/defines.inc.php3 @@ -40,7 +40,7 @@ if (defined('PHP_OS') && eregi('win', PHP_OS)) { // MySQL Version if (!empty($server)){ - $result = mysql_query('SELECT VERSION() AS version'); + $result = @mysql_query('SELECT VERSION() AS version'); if ($result != FALSE && @mysql_num_rows($result) > 0) { $result = mysql_query('SELECT VERSION() AS version') or mysql_die(); $row = mysql_fetch_array($result);