diff --git a/modules/Vtiger/views/ShowWidget.php b/modules/Vtiger/views/ShowWidget.php index 5c5cfdf1dc7a9c0ba7a2c120893929b5cba36138..fb59dea580d3ff0ce53fe0245380f26d8487297e 100644 --- a/modules/Vtiger/views/ShowWidget.php +++ b/modules/Vtiger/views/ShowWidget.php @@ -67,7 +67,7 @@ class Vtiger_ShowWidget_View extends Vtiger_IndexAjax_View { $currentUserPrivilegeModel = Users_Privileges_Model::getCurrentUserPrivilegesModel(); if($currentUserPrivilegeModel->hasModulePermission(getTabid($moduleName)) && !Vtiger_Runtime::isRestricted('modules', $moduleName)){ $classInstance = new $className(); - $classInstance->process($request, $widget); + $classInstance->process($request); }else{ throw new AppException(vtranslate('LBL_PERMISSION_DENIED')); } @@ -83,4 +83,4 @@ class Vtiger_ShowWidget_View extends Vtiger_IndexAjax_View { public function validateRequest(Vtiger_Request $request) { $request->validateWriteAccess(); } -} \ No newline at end of file +}