mirror of
https://github.com/ShaYmez/FreeSTAR-Status-Engine.git
synced 2026-06-02 06:04:44 -04:00
Fix #11 - add second part of api
This commit is contained in:
@@ -52,7 +52,7 @@ class Constellation
|
||||
$offset += $limit;
|
||||
|
||||
if ($query->num_rows){
|
||||
while(($result = $query->fetch_assoc()) && $limit-->0)
|
||||
while(($result = $query->fetch_assoc()) && $limit-- > 0)
|
||||
{
|
||||
$incident = new Incident($result);
|
||||
$incident->render($admin);
|
||||
|
||||
Reference in New Issue
Block a user