Explorar el Código

try to use database

andre hace 4 años
padre
commit
c310ec2bb6
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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(