diff options
Diffstat (limited to 'admin/rating.php')
-rw-r--r-- | admin/rating.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/admin/rating.php b/admin/rating.php index ec9fe9ec6..0edd1369b 100644 --- a/admin/rating.php +++ b/admin/rating.php @@ -2,7 +2,7 @@ // +-----------------------------------------------------------------------+ // | Piwigo - a PHP based photo gallery | // +-----------------------------------------------------------------------+ -// | Copyright(C) 2008-2013 Piwigo Team http://piwigo.org | +// | Copyright(C) 2008-2014 Piwigo Team http://piwigo.org | // | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net | // | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick | // +-----------------------------------------------------------------------+ @@ -194,7 +194,7 @@ $images = array(); $result = pwg_query($query); while ($row = pwg_db_fetch_assoc($result)) { - array_push($images, $row); + $images[] = $row; } $template->assign( 'images', array() ); |