andre hace 5 años
padre
commit
ed90075901
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      zimbraSingle.inc

+ 1 - 1
zimbraSingle.inc

@@ -43,7 +43,7 @@ function zimbraSingleGetAccess()
     
     $servers = Capsule::table('tblservers')
         ->select('ipaddress', 'username', 'password')
-        ->where('name', '=', 'Zimbra Single Mailbox')
+        ->where('id', '=', $serverID[0]->serverid)
         ->get();
     $accessData['zimbraServer'] = $servers[0]->ipaddress;
     $accessData['adminUser'] = $servers[0]->username;