aboutsummaryrefslogtreecommitdiffstats
path: root/comments.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--comments.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/comments.php b/comments.php
index 44fcaf936..906fca87a 100644
--- a/comments.php
+++ b/comments.php
@@ -446,8 +446,8 @@ $query.= '
$result = pwg_query($query);
while ($row = pwg_db_fetch_assoc($result))
{
- array_push($comments, $row);
- array_push($element_ids, $row['image_id']);
+ $comments[] = $row;
+ $element_ids[] = $row['image_id'];
}
if (count($comments) > 0)