Skip to content

Commit f266c30

Browse files
author
Marius Cramer
committed
Fixed bug in server_get remoting function
1 parent 5545f18 commit f266c30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interface/lib/classes/remoting.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,8 @@ public function server_get($session_id, $server_id = null, $section ='') {
150150
return false;
151151
}
152152
if (!empty($session_id)) {
153+
$app->uses('remoting_lib , getconf');
153154
if(!empty($server_id)) {
154-
$app->uses('remoting_lib , getconf');
155155
$section_config = $app->getconf->get_server_config($server_id, $section);
156156
return $section_config;
157157
} else {

0 commit comments

Comments
 (0)