diff options
author | plegall <plg@piwigo.org> | 2006-07-03 23:05:55 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2006-07-03 23:05:55 +0000 |
commit | d954e8dcadcfcfe0c199ad15b5fb6e5e43541169 (patch) | |
tree | 90c1b5c7831d14a370bf212c2a12bea23a68a17d /include | |
parent | 062990b02af2e397a6475a2e9dd4860d1efa2b00 (diff) |
bug 443 fixed: new users were never notified to administrators due to a
typo.
git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1431 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include')
-rw-r--r-- | include/functions_notification.inc.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/functions_notification.inc.php b/include/functions_notification.inc.php index a88aba47b..4061e57c8 100644 --- a/include/functions_notification.inc.php +++ b/include/functions_notification.inc.php @@ -33,7 +33,7 @@ * Execute custom notification query * * @param string action ('count' or 'info') - * @param string type of query ('new_comments', 'unvalidated_comments', 'new_elements', 'updated_categories', ' new_users', 'waiting_elements') + * @param string type of query ('new_comments', 'unvalidated_comments', 'new_elements', 'updated_categories', 'new_users', 'waiting_elements') * @param string start (mysql datetime format) * @param string end (mysql datetime format) * @@ -80,7 +80,7 @@ function custom_notification_query($action, $type, $start, $end) AND category_id NOT IN ('.$user['forbidden_categories'].') ;'; break; - case ' new_users': + case 'new_users': $query = ' FROM '.USER_INFOS_TABLE.' WHERE registration_date > \''.$start.'\' @@ -116,7 +116,7 @@ function custom_notification_query($action, $type, $start, $end) case 'updated_categories': $field_id = 'category_id'; break; - case ' new_users': + case 'new_users': $field_id = 'user_id'; break; case 'waiting_elements': @@ -144,7 +144,7 @@ function custom_notification_query($action, $type, $start, $end) case 'updated_categories': $fields = array('category_id'); break; - case ' new_users': + case 'new_users': $fields = array('user_id'); break; case 'waiting_elements': |