Skip to content
Snippets Groups Projects
Commit 2879fcdb authored by Prasad's avatar Prasad
Browse files

Fixes #1612: Removed extra argument push to widget handler process

parent 536aa044
No related branches found
No related tags found
No related merge requests found
......@@ -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
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment