|
|
@@ -45,7 +45,7 @@ foreach ($zmAuthPIDsObj as $zmAuthPID) {
|
|
|
$hostingIDs = array();
|
|
|
$hostingIDsObj = Capsule::table('tblhosting')
|
|
|
->select('id')
|
|
|
- ->where('packageid', $zmAuthPIDs)
|
|
|
+ ->whereIn('packageid', $zmAuthPIDs)
|
|
|
->get()
|
|
|
->toArray();
|
|
|
foreach ($hostingIDsObj as $hostingID) {
|
|
|
@@ -54,7 +54,7 @@ foreach ($hostingIDsObj as $hostingID) {
|
|
|
$customfieldIDs = array();
|
|
|
$customfieldIDsObj = Capsule::table('tblcustomfields')
|
|
|
->select('id')
|
|
|
- ->where('relid', $zmAuthPIDs)
|
|
|
+ ->whereIn('relid', $zmAuthPIDs)
|
|
|
->where('fieldname', 'LIKE', 'username%')
|
|
|
->orWhere('fieldname', 'LIKE', 'maildomain%')
|
|
|
->get()
|
|
|
@@ -72,9 +72,9 @@ $customfieldsvaluesObj = Capsule::table('tblcustomfieldsvalues')
|
|
|
logModuleCall(
|
|
|
'zimbrasingle',
|
|
|
__FUNCTION__,
|
|
|
- $zmAuthPIDsObj,
|
|
|
+ $hostingIDs,
|
|
|
'debug',
|
|
|
- $hostingIDsObj
|
|
|
+ $customfieldIDs
|
|
|
);
|
|
|
|
|
|
|