Skip to content
Snippets Groups Projects
Commit 607d3643 authored by root's avatar root
Browse files

soap api server bugfix

fix invalid return of mirror id
parent 801e02f7
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment