1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 04:38:27 +01:00

Developer mode pref check fix.

This commit is contained in:
Cameron 2020-05-25 13:09:29 -07:00
parent 2009549a4e
commit 6daabd3fa5

View File

@ -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());