mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-15 14:02:17 +00:00
replace while since LIMIT 1, return boolean in every case
This commit is contained in:
@@ -631,11 +631,15 @@ class zeitsperre extends basis_db
|
||||
}
|
||||
else
|
||||
{
|
||||
while($row = $this->db_fetch_object())
|
||||
if(($row = $this->db_fetch_object()))
|
||||
{
|
||||
$this->result[]= $row;
|
||||
return true;
|
||||
}
|
||||
return true;
|
||||
else
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user