mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 12:48:24 +01:00
Fixes #1535 - Error on User-profile in admin area.
This commit is contained in:
parent
4a40104073
commit
ae85b7b4d1
@ -220,7 +220,7 @@ class cron_admin_ui extends e_admin_ui
|
|||||||
'cron_description' => $val['description'],
|
'cron_description' => $val['description'],
|
||||||
'cron_function' => $class."::".$val['function'],
|
'cron_function' => $class."::".$val['function'],
|
||||||
'cron_tab' => '* * * * *',
|
'cron_tab' => '* * * * *',
|
||||||
'cron_active' => 0,
|
'cron_active' => '0',
|
||||||
);
|
);
|
||||||
|
|
||||||
$this->cronInsert($insert);
|
$this->cronInsert($insert);
|
||||||
|
@ -2320,7 +2320,16 @@ class users_admin_form_ui extends e_admin_form_ui
|
|||||||
if($mode == 'read')
|
if($mode == 'read')
|
||||||
{
|
{
|
||||||
$field = $att['field'];
|
$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']);
|
return e107::getUserExt()->renderValue($data, $att['ueType']);
|
||||||
|
@ -135,7 +135,7 @@
|
|||||||
parse_str($query,$_GET);
|
parse_str($query,$_GET);
|
||||||
}
|
}
|
||||||
|
|
||||||
e107::getMessage()->addDebug('e_URL in <b>'.$plug.'</b> with key: <b>'.$k.'</b> matched <b>'.$v['regex'].'</b> and included: <b>'.$file.'</b> with $_GET: '.print_a($_GET,true));
|
e107::getDebug()->log('e_URL in <b>'.$plug.'</b> with key: <b>'.$k.'</b> matched <b>'.$v['regex'].'</b> and included: <b>'.$file.'</b> with $_GET: '.print_a($_GET,true),1);
|
||||||
|
|
||||||
if(file_exists($file))
|
if(file_exists($file))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user