|
|
@@ -62,19 +62,20 @@ $customfieldIDsObj = Capsule::table('tblcustomfields')
|
|
|
foreach ($customfieldIDsObj as $customfieldID) {
|
|
|
array_push($customfieldIDs, $customfieldID->id);
|
|
|
}
|
|
|
-/*$customfieldsvalues = array();
|
|
|
+$customfieldsvalues = array();
|
|
|
$customfieldsvaluesObj = Capsule::table('tblcustomfieldsvalues')
|
|
|
->select('value')
|
|
|
- ->where('fieldid', $customfieldIDs)
|
|
|
+ ->whereIn('relid', $hostingIDs)
|
|
|
+ ->whereIn('fieldid', $customfieldIDs)
|
|
|
->get()
|
|
|
- ->toArray(); */
|
|
|
+ ->toArray();
|
|
|
|
|
|
logModuleCall(
|
|
|
'zimbrasingle',
|
|
|
__FUNCTION__,
|
|
|
$hostingIDs,
|
|
|
'debug',
|
|
|
- $customfieldIDs
|
|
|
+ $customfieldsvaluesObj
|
|
|
);
|
|
|
|
|
|
|