diff --git a/e107_admin/cron.php b/e107_admin/cron.php index 6edcb3f65..3cd3e6e7f 100644 --- a/e107_admin/cron.php +++ b/e107_admin/cron.php @@ -220,7 +220,7 @@ class cron_admin_ui extends e_admin_ui 'cron_description' => $val['description'], 'cron_function' => $class."::".$val['function'], 'cron_tab' => '* * * * *', - 'cron_active' => 0, + 'cron_active' => '0', ); $this->cronInsert($insert); diff --git a/e107_admin/users.php b/e107_admin/users.php index a50de17c2..2e43fef0e 100644 --- a/e107_admin/users.php +++ b/e107_admin/users.php @@ -2320,7 +2320,16 @@ class users_admin_form_ui extends e_admin_form_ui if($mode == 'read') { $field = $att['field']; - $data = $this->getController()->getListModel()->get($field); // ($att['field']); + + if($this->getController()->getAction() == 'list') + { + $data = $this->getController()->getListModel()->get($field); // ($att['field']); + } + else + { + $data = $this->getController()->getModel()->get($field); // ($att['field']); + } + return e107::getUserExt()->renderValue($data, $att['ueType']); diff --git a/index.php b/index.php index da0b18629..432531b6e 100644 --- a/index.php +++ b/index.php @@ -135,7 +135,7 @@ parse_str($query,$_GET); } - e107::getMessage()->addDebug('e_URL in '.$plug.' with key: '.$k.' matched '.$v['regex'].' and included: '.$file.' with $_GET: '.print_a($_GET,true)); + e107::getDebug()->log('e_URL in '.$plug.' with key: '.$k.' matched '.$v['regex'].' and included: '.$file.' with $_GET: '.print_a($_GET,true),1); if(file_exists($file)) {