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

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