|
@@ -98,15 +98,15 @@ function zimbraSingleCreateCustomFields($packageconfigoption)
|
|
|
$whmcs = App::self();
|
|
$whmcs = App::self();
|
|
|
$productID = $whmcs->get_req_var('id');
|
|
$productID = $whmcs->get_req_var('id');
|
|
|
try {
|
|
try {
|
|
|
- $customFields = Capsule::table('tblcustomfields')
|
|
|
|
|
|
|
+ $customFieldIDs = Capsule::table('tblcustomfields')
|
|
|
->where('relid', '=', $productID)
|
|
->where('relid', '=', $productID)
|
|
|
- ->select();
|
|
|
|
|
|
|
+ ->select('id');
|
|
|
logModuleCall(
|
|
logModuleCall(
|
|
|
'zimbrasingle',
|
|
'zimbrasingle',
|
|
|
__FUNCTION__,
|
|
__FUNCTION__,
|
|
|
$productID,
|
|
$productID,
|
|
|
"Debug",
|
|
"Debug",
|
|
|
- $customFields
|
|
|
|
|
|
|
+ $customFieldIDs
|
|
|
);
|
|
);
|
|
|
Capsule::table('tblcustomfields')
|
|
Capsule::table('tblcustomfields')
|
|
|
->where('relid', '=', $productID)
|
|
->where('relid', '=', $productID)
|