Fix #11 - add second part of api

This commit is contained in:
Vojtěch Sajdl
2018-04-13 22:38:10 +02:00
parent 3980f5daa6
commit f9c247854f
3 changed files with 46 additions and 5 deletions
+1 -1
View File
@@ -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);