bug 449800

This commit is contained in:
Marc Delisle
2001-08-10 16:03:08 +00:00
parent 352f8ee1a0
commit 18ee19e603
2 changed files with 2 additions and 1 deletions

View File

@@ -8,6 +8,7 @@ $Source$
2001-08-10 Marc Delisle <lem9@users.sourceforge.net>
* 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 <alberty@neptunlabs.de>
* defines.inc.php3: improve mysql version query, thanks to

View File

@@ -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);