Changeset 2262 for trunk/admin/notification_by_mail.php
- Timestamp:
- Mar 7, 2008, 7:42:43 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/notification_by_mail.php
r2249 r2262 691 691 $data_users = get_user_notifications('subscribe'); 692 692 693 $opt_true =array();694 $opt_true_selected =array();695 $opt_false =array();696 $opt_false_selected =array();693 $opt_true = array(); 694 $opt_true_selected = array(); 695 $opt_false = array(); 696 $opt_false_selected = array(); 697 697 foreach ($data_users as $nbm_user) 698 698 { 699 if ( get_boolean($nbm_user['enabled']))699 if (get_boolean($nbm_user['enabled'])) 700 700 { 701 701 $opt_true[ $nbm_user['check_key'] ] = $nbm_user['username'].'['.get_email_address_as_display_text($nbm_user['mail_address']).']'; 702 if ((isset($_POST['falsify']) and isset($_POST['cat_true']) and in_array($nbm_user['check_key'], $_POST['cat_true'])) 702 if ((isset($_POST['falsify']) and isset($_POST['cat_true']) and in_array($nbm_user['check_key'], $_POST['cat_true']))) 703 703 { 704 704 $opt_true_selected[] = $nbm_user['check_key']; … … 718 718 'category_option_true_selected' => $opt_true_selected, 719 719 'category_option_false' => $opt_false, 720 'category_option_true '=> $opt_false_selected,720 'category_option_true_selected' => $opt_false_selected, 721 721 ) 722 722 );
Note: See TracChangeset
for help on using the changeset viewer.