Ignore:
Timestamp:
Apr 4, 2011, 1:18:25 AM (13 years ago)
Author:
LucMorizur
Message:

Minor change on debug variable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/event_cats/admin/evntcats_admin.php

    r8956 r10030  
    408408$template->assign('U_HELP', get_root_url().'popuphelp.php?page=help');
    409409
    410 if (isset($conf['ec_debug1'])) $template->assign('ec_debug1', array(
    411   'POST'      => str_from_var($_POST),
    412   'ec_debug'  => (isset($ec_debug)) ? str_from_var($ec_debug) : '(unset)',
    413   'GET'       => str_from_var($_GET),
    414   'page'      => str_from_var($page),
    415   'ec_conf'   => str_from_var($ec_conf),
    416   'ec_lists'  => (isset($ec_lists)) ? str_from_var($ec_lists) : '(unset)',
    417   'code_list' => (isset($code_list)) ? str_from_var($code_list) : '(unset)',
    418 ));
     410if (isset($conf['ec_debug1']) and $conf['ec_debug1'])
     411 $template->assign('ec_debug1', array(
     412   'POST'      => str_from_var($_POST),
     413   'ec_debug'  => (isset($ec_debug)) ? str_from_var($ec_debug) : '(unset)',
     414   'GET'       => str_from_var($_GET),
     415   'page'      => str_from_var($page),
     416   'ec_conf'   => str_from_var($ec_conf),
     417   'ec_lists'  => (isset($ec_lists)) ? str_from_var($ec_lists) : '(unset)',
     418   'code_list' => (isset($code_list)) ? str_from_var($code_list) : '(unset)',
     419 ));
    419420
    420421$template->set_filenames(array(
Note: See TracChangeset for help on using the changeset viewer.