aboutsummaryrefslogtreecommitdiffstats
path: root/admin/notification_by_mail.php
diff options
context:
space:
mode:
authorrub <rub@piwigo.org>2008-03-07 06:42:43 +0000
committerrub <rub@piwigo.org>2008-03-07 06:42:43 +0000
commit0c83b734fb264c24e3bbe5758d0cf417cdc1859c (patch)
treee039e0c363d51b190058d8cb20b62ceec0540954 /admin/notification_by_mail.php
parent8faa265e743da417685f9e356e8cc24418dd18ee (diff)
Fix bug of svn:2249
Fix quicky mail error with smarty git-svn-id: http://piwigo.org/svn/trunk@2262 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/notification_by_mail.php')
-rw-r--r--admin/notification_by_mail.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/admin/notification_by_mail.php b/admin/notification_by_mail.php
index 913d65283..897bef97a 100644
--- a/admin/notification_by_mail.php
+++ b/admin/notification_by_mail.php
@@ -690,16 +690,16 @@ switch ($page['mode'])
$data_users = get_user_notifications('subscribe');
- $opt_true=array();
- $opt_true_selected=array();
- $opt_false=array();
- $opt_false_selected=array();
+ $opt_true = array();
+ $opt_true_selected = array();
+ $opt_false = array();
+ $opt_false_selected = array();
foreach ($data_users as $nbm_user)
{
- if ( get_boolean($nbm_user['enabled']) )
+ if (get_boolean($nbm_user['enabled']))
{
$opt_true[ $nbm_user['check_key'] ] = $nbm_user['username'].'['.get_email_address_as_display_text($nbm_user['mail_address']).']';
- if ((isset($_POST['falsify']) and isset($_POST['cat_true']) and in_array($nbm_user['check_key'], $_POST['cat_true'])) )
+ if ((isset($_POST['falsify']) and isset($_POST['cat_true']) and in_array($nbm_user['check_key'], $_POST['cat_true'])))
{
$opt_true_selected[] = $nbm_user['check_key'];
}
@@ -717,7 +717,7 @@ switch ($page['mode'])
'category_option_true' => $opt_true,
'category_option_true_selected' => $opt_true_selected,
'category_option_false' => $opt_false,
- 'category_option_true' => $opt_false_selected,
+ 'category_option_true_selected' => $opt_false_selected,
)
);
break;