tbrehm
2013-03-19 cee6bf2fc09699d8a3c89bf32fea37b81ba67db5
Fixed: FS#2756 - User can choose startmodule even it is unhooked!
1 files modified
4 ■■■ changed files
interface/web/tools/form/interface_settings.tform.php 4 ●●● patch | view | raw | blame | history
interface/web/tools/form/interface_settings.tform.php
@@ -96,7 +96,9 @@
        }
    }
} else {
    $modules = $conf['interface_modules_enabled'];
    $tmp = $app->db->queryOneRecord("SELECT * FROM sys_user where username = '".$_SESSION["s"]["user"]['username']."'");
    $modules = $tmp['modules'];
    //$modules = $conf['interface_modules_enabled'];
    if($_SESSION["s"]["user"]["typ"] != 'admin' && $app->auth->has_clients($_SESSION['s']['user']['userid'])) {
        $modules .= ',client';
    }