Sfoglia il codice sorgente

try to use database

andre 4 anni fa
parent
commit
c310ec2bb6
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      zimbraSingle.php

+ 1 - 1
zimbraSingle.php

@@ -796,7 +796,7 @@ function zimbraSingle_AdminServicesTabFieldsSave($params) {
     $newAddQuota = 0;
     $options = Capsule::table('tblhostingconfigoptions')
             ->join('tblproductconfigoptions', 'tblhostingconfigoptions.configid', '=', 'tblproductconfigoptions.id')
-            ->where('relid', '=', $serviceid)
+            ->where('relid', '=', $params['serviceid'])
             ->select('*')
             ->get();
     logModuleCall(