andre 3 лет назад
Родитель
Сommit
fd288b3f34
1 измененных файлов с 4 добавлено и 2 удалено
  1. 4 2
      cwp7.php

+ 4 - 2
cwp7.php

@@ -39,10 +39,12 @@ function cwp7_ConfigOptions() {
 		array_push($serverIDs, $serverID->serverid);
 	}
     $server = Capsule::table('tblservers')
-        ->select('ipaddress', 'accesshash')
+        ->select('hostname', 'accesshash')
         ->where('id', $serverIDs)
         ->where('active', '=', 1)
-        ->get();
+		->get();
+	
+
 	logModuleCall(
 		'cwp7',
 		__FUNCTION__,