Marius Burkard
2016-05-03 be90262e383405bd4c3839d7b969ce21257ed75f
- remoting (json) should produce array
- Changed default value for expire of ftp user, should have fixed: #3862
2 files modified
5 ■■■■■ changed files
interface/lib/classes/json_handler.inc.php 2 ●●● patch | view | raw | blame | history
interface/web/sites/form/ftp_user.tform.php 3 ●●●● patch | view | raw | blame | history
interface/lib/classes/json_handler.inc.php
@@ -91,7 +91,7 @@
        if(is_array($_POST)) {
            foreach($_POST as $key => $val) {
                $tmp = json_decode($val);
                $tmp = json_decode($val, true);
                if(!$tmp) $params[] = $val;
                else $params[] = (array)$tmp;
            }
interface/web/sites/form/ftp_user.tform.php
@@ -296,7 +296,8 @@
$form['tabs']['advanced']['fields']['expires'] = array(
    'datatype' => 'DATETIME',
    'formtype' => 'DATETIME'
    'formtype' => 'DATETIME',
    'default' => null
);