Browse Source

bugfix getting access data

andre 5 years ago
parent
commit
9178e50b55
1 changed files with 1 additions and 1 deletions
  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) {