Explorar o código

bugfix getting access data

andre %!s(int64=5) %!d(string=hai) anos
pai
achega
9178e50b55
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      zimbraSingle.inc

+ 1 - 1
zimbraSingle.inc

@@ -30,7 +30,7 @@ function zimbraSingleGetAccess()
     if($productID) {
         $serverIDObj = Capsule::table('tblhosting')
             ->select('server')
-            ->where('id', '=', $productID)
+            ->where('packageid', '=', $productID)
             ->get();
             $serverID = $serverIDObj[0]->server;
     } elseif($serverGroupID) {