mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 12:48:24 +01:00
Developer mode pref check fix.
This commit is contained in:
parent
2009549a4e
commit
6daabd3fa5
@ -328,8 +328,9 @@ class system_tools
|
||||
{
|
||||
$frm = e107::getForm();
|
||||
$mes = e107::getMessage();
|
||||
$pref = e107::pref();
|
||||
|
||||
if(!$pref['developer'])
|
||||
if(empty($pref['developer']))
|
||||
{
|
||||
e107::getMessage()->addError("Developer mode has to be enabled in order to use this functionality!");
|
||||
e107::getRender()->tablerender(DBLAN_10.SEP.DBLAN_112, $mes->render());
|
||||
|
Loading…
x
Reference in New Issue
Block a user