Changeset 7068 for extensions/event_cats


Ignore:
Timestamp:
Oct 1, 2010, 11:11:19 PM (14 years ago)
Author:
LucMorizur
Message:

Small corrections in previous commit

Location:
extensions/event_cats
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/event_cats/admin/config.inc.php

    r7067 r7068  
    7979// Sends configuration values to the template, described per key
    8080$ec_conf2 = array(); $i = 0;
    81 foreach ($ec_conf_possible_values as $k => $v) { $ec_conf2[$k] = $ec_conf[$i]; $i++; }
     81foreach ($ec_conf_possible_values as $k => $v)
     82 { $ec_conf2[$k] = $ec_conf[$i]; $i++; }
    8283$template->assign('ec_conf', $ec_conf2);
    8384$template->assign('ec_help_banner1', l10n('ec_help_banner1_config'));
  • extensions/event_cats/include/ec_conf.inc.php

    r7067 r7068  
    242242//   _ correct values will be returned when using procedure read_ec_conf($c).
    243243
    244 unset($t, $u, $v, $w, $simple_mode_on);
     244unset($s, $t, $u, $v, $w, $simple_mode_on);
    245245// And NOW can change_ec_conf and read_ec_conf be used properly...
    246246
     
    269269    ) {
    270270      $ec_conf[$ec_conf_index[$c]] = $v;
    271       return ($a=(pwg_query("
     271      return (pwg_query("
    272272        UPDATE `".CONFIG_TABLE."`
    273273        SET `value` = \"".implode(',', $ec_conf)."\"
    274274        WHERE `param` = 'event_cats';
    275       ") !== false));
     275      ") !== false);
    276276    }
    277277    else {
Note: See TracChangeset for help on using the changeset viewer.