From 2b81fbc4aa00ab4fcef794083c3f8e2d6bfe314e Mon Sep 17 00:00:00 2001 From: rvelices Date: Thu, 13 Feb 2014 22:21:12 +0000 Subject: more query2array git-svn-id: http://piwigo.org/svn/trunk@27369 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/functions_notification.inc.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include/functions_notification.inc.php') diff --git a/include/functions_notification.inc.php b/include/functions_notification.inc.php index af46f50d2..623369915 100644 --- a/include/functions_notification.inc.php +++ b/include/functions_notification.inc.php @@ -217,7 +217,7 @@ function custom_notification_query($action, $type, $start=null, $end=null) break; } $query = 'SELECT DISTINCT '.$field_id.' '.$query.';'; - $infos = array_from_query($query); + $infos = query2array($query); return $infos; break; } @@ -456,7 +456,7 @@ SELECT ORDER BY date_available DESC LIMIT '.$max_dates.' ;'; - $dates = array_from_query($query); + $dates = query2array($query); for ($i=0; $i0) @@ -489,7 +489,7 @@ SELECT ORDER BY img_count DESC LIMIT '.$max_cats.' ;'; - $dates[$i]['categories'] = array_from_query($query); + $dates[$i]['categories'] = query2array($query); } } -- cgit v1.2.3