@@ -100,7 +100,8 @@ function zimbraSingleCreateCustomFields($packageconfigoption)
try {
$customFieldIDs = Capsule::table('tblcustomfields')
->where('relid', '=', $productID)
- ->select('id');
+ ->select('id')
+ ->get();
logModuleCall(
'zimbrasingle',
__FUNCTION__,