Commit 665999f6 authored by Marius Burkard's avatar Marius Burkard

- param handling for REST

parent a2bc35c5
......@@ -166,6 +166,7 @@ class ISPConfigRESTHandler {
$pname = $param->name;
if($pname == 'session_id') $params[] = (isset($get['session_id']) ? $get['session_id'] : '');
elseif($pname == 'primary_id' && $primary_id) $params[] = $primary_id;
elseif($pname == 'params' && is_array($json)) $params[] = $json;
elseif(isset($json[$pname])) $params[] = $json[$pname];
else $params[] = null;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment