Ignore:
Timestamp:
Mar 7, 2008, 7:42:43 AM (16 years ago)
Author:
rub
Message:

Fix bug of svn:2249
Fix quicky mail error with smarty

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/notification_by_mail.php

    r2249 r2262  
    691691    $data_users = get_user_notifications('subscribe');
    692692   
    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();
    697697    foreach ($data_users as $nbm_user)
    698698    {
    699       if ( get_boolean($nbm_user['enabled']) )
     699      if (get_boolean($nbm_user['enabled']))
    700700      {
    701701        $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'])))
    703703        {
    704704          $opt_true_selected[] = $nbm_user['check_key'];
     
    718718        'category_option_true_selected' => $opt_true_selected,
    719719        'category_option_false'         => $opt_false,
    720         'category_option_true'          => $opt_false_selected,
     720        'category_option_true_selected' => $opt_false_selected,
    721721        )
    722722    );
Note: See TracChangeset for help on using the changeset viewer.