Skip to content
Snippets Groups Projects
Commit 16fff44f authored by colemanw's avatar colemanw
Browse files

Fix undefined index warning CRM-12339

parent d759bd10
No related branches found
No related tags found
No related merge requests found
......@@ -166,7 +166,7 @@ class CRM_Core_Region {
$smarty->assign('snippet', $tmp);
break;
case 'callback':
$args = is_array($snippet['arguments']) ? $snippet['arguments'] : array(&$snippet, &$html);
$args = isset($snippet['arguments']) ? $snippet['arguments'] : array(&$snippet, &$html);
$html .= call_user_func_array($snippet['callback'], $args);
break;
case 'scriptUrl':
......
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