fixed a bugg
This commit is contained in:
parent
ff139b32bb
commit
5392bc422c
1 changed files with 4 additions and 2 deletions
6
db.php
6
db.php
|
|
@ -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);
|
||||
}
|
||||
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue