Skip to content
Snippets Groups Projects
Commit c2ca7303 authored by aydreeihn's avatar aydreeihn
Browse files

Issue: Undefined Constant Warning

For the is_a function, the class name should be in quotation marks to avoid the warning in PHP 7.3
parent cc879b72
Branches
No related tags found
No related merge requests found
<?php
$info=Format::htmlchars(($errors && $_POST)?$_POST:$_REQUEST);
if (is_a($template, EmailTemplateGroup)) {
if (is_a($template, 'EmailTemplateGroup')) {
// New template implementation
$id = 0;
$tpl_id = $template->getId();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment