bug fix
This commit is contained in:
parent
5392bc422c
commit
cfb43c0e86
1 changed files with 1 additions and 1 deletions
2
db.php
2
db.php
|
|
@ -59,7 +59,7 @@
|
||||||
trigger_error("QUERY FAILD: \"".$sqlSats."\"", E_USER_ERROR);
|
trigger_error("QUERY FAILD: \"".$sqlSats."\"", E_USER_ERROR);
|
||||||
die();
|
die();
|
||||||
}
|
}
|
||||||
if(is_bool($resultat))
|
if(is_bool($resultat) || is_int($resultat))
|
||||||
return $resultat;
|
return $resultat;
|
||||||
else
|
else
|
||||||
return @mysql_fetch_assoc($resultat);
|
return @mysql_fetch_assoc($resultat);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue