removed snippet check

This commit is contained in:
2018-08-31 02:57:08 +05:30
parent 7b97bd7839
commit ae7237f49b
2 changed files with 2 additions and 2 deletions

View File

@ -9,8 +9,7 @@ class CRM_EntityTemplates_Utils {
* @param object $form
*/
public static function preProcess($formName, &$form) {
if (CRM_Utils_Request::retrieve('snippet', 'String')
|| !($form->getVar('_action') & CRM_Core_Action::ADD)
if (!($form->getVar('_action') & CRM_Core_Action::ADD)
) {
return;
}