Parcourir la source

bugfix getting access data

andre il y a 5 ans
Parent
commit
9178e50b55
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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) {