userdb: fixed wrong mysqli_free_result call

This commit is contained in:
Andre Lorbach 2016-10-11 14:19:34 +02:00
parent 04d3578bee
commit a250cc12b4

View File

@ -133,7 +133,7 @@ function DB_FreeQuery($query_id)
return;
// ---
if ($query_id !== FALSE )
if ($query_id !== FALSE && $query_id !== TRUE )
mysqli_free_result($query_id);
}