replace while since LIMIT 1, return boolean in every case

This commit is contained in:
Harald Bamberger
2023-03-17 12:48:55 +01:00
parent e48c1365cf
commit 2240646d2a
+6 -2
View File
@@ -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;
}
}
}