This commit is contained in:
nikolark committed 2014-06-07 23:13:44 +02:00
1 parent 12a227fc6f
commit 422031e2a9
1 file changed
+1 -1
+1 -1
View File
@@ -91,7 +91,7 @@ function get_user($user_id) {
echo json_encode( array('error' => 'db_error', 'error_message' => $res->toString() ) );
die();
}
if($res->numRows === 0) {
if($res->numRows() === 0) {
return false;
}
$res->fetchInto($user);