|
|
@@ -103,6 +103,16 @@ function zimbraSingleCreateCustomFields($packageconfigoption)
|
|
|
->select('id')
|
|
|
->get();
|
|
|
$customFieldIDs = recursiveFindAll($customFieldIDsObj, 'id');
|
|
|
+ logModuleCall(
|
|
|
+ 'zimbrasingle',
|
|
|
+ __FUNCTION__,
|
|
|
+ $productID,
|
|
|
+ "debug",
|
|
|
+ $customFieldIDs
|
|
|
+ );
|
|
|
+ Capsule::table('tblcustomfields')
|
|
|
+ ->where('relid', '=', $productID)
|
|
|
+ ->delete();
|
|
|
Capsule::table('tblcustomfields')
|
|
|
->updateOrInsert(
|
|
|
array(
|