Fixed Notice error
This commit is contained in:
parent
ae7237f49b
commit
8dd89a41fb
@ -245,7 +245,7 @@ function entitytemplates_civicrm_pre($op, $objectName, $id, &$params) {
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
function entitytemplates_civicrm_validateForm($formName, &$fields, &$files, &$form, &$errors) {
|
function entitytemplates_civicrm_validateForm($formName, &$fields, &$files, &$form, &$errors) {
|
||||||
if ($form->_entityTemplate) {
|
if (property_exists($form, '_entityTemplate') && $form->_entityTemplate) {
|
||||||
if (!empty($fields['entity_template_title'])) {
|
if (!empty($fields['entity_template_title'])) {
|
||||||
$params = [
|
$params = [
|
||||||
'title' => $fields['entity_template_title'],
|
'title' => $fields['entity_template_title'],
|
||||||
|
Loading…
Reference in New Issue
Block a user