andre 5 лет назад
Родитель
Сommit
5ec2e7811d
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      zimbraSingle.inc

+ 2 - 2
zimbraSingle.inc

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