mirror of
https://github.com/agdsn/ancient-weatherstation.git
synced 2026-06-19 23:07:59 +00:00
performance optimizations at the frontend
git-svn-id: file:///home/jan/tmp/wetterstation/trunk@224 dd492736-c11a-0410-ad51-8c26713eaf7f
This commit is contained in:
@@ -52,7 +52,7 @@ class Connection{
|
||||
$result = pg_query($this->conn, $query)
|
||||
or die('Abfrage fehlgeschlagen: ' . pg_last_error(). "\n<br>\nquery: '".$query."'");
|
||||
while($array = pg_fetch_assoc($result))
|
||||
array_push($returnArray, $array);
|
||||
$returnArray[] = $array;
|
||||
return $returnArray;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user