Commit 607d3643 authored by root's avatar root

soap api server bugfix

fix invalid return of mirror id
parent 801e02f7
......@@ -233,7 +233,7 @@ class remoting_server extends remoting {
$func = array();
foreach($all as $key => $value) {
if($key === 'mirror_server_id' || substr($key, -7) === '_server') {
if($value == 0 || $value == 1) {
if(is_numeric($value)) {
$func[$key] = $value;
}
}
......
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