Till Brehm
2016-07-22 16ebfdab2520d4ddda358d961813afb106a6a5e8
Fixed #4043 3.1 Remote API - client_add: sys_user insert fails if client parameter 'usertheme' is empty
1 files modified
2 ■■■ changed files
interface/lib/classes/remoting_lib.inc.php 2 ●●● patch | view | raw | blame | history
interface/lib/classes/remoting_lib.inc.php
@@ -284,7 +284,7 @@
                $startmodule=$_modules[0];
            }
        }
        $usertheme = $params["usertheme"];
        $usertheme = (isset($params["usertheme"]) && $params["usertheme"] != '')?$params["usertheme"]:'default';
        $type = 'user';
        $active = 1;
        $insert_id = $app->functions->intval($insert_id);