1
0
Fork 0

fixed a bugg

This commit is contained in:
Ziver Koc 2008-11-28 22:08:14 +00:00
parent ff139b32bb
commit 5392bc422c

6
db.php
View file

@ -59,8 +59,10 @@
trigger_error("QUERY FAILD: \"".$sqlSats."\"", E_USER_ERROR);
die();
}
$temp = @mysql_fetch_assoc($resultat);
return $temp;
if(is_bool($resultat))
return $resultat;
else
return @mysql_fetch_assoc($resultat);
}
?>