From 16fff44f6dd531adf233056d6ba1795b2f5b0bd9 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Sat, 13 Apr 2013 15:02:53 -0700 Subject: [PATCH] Fix undefined index warning CRM-12339 --- CRM/Core/Region.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Core/Region.php b/CRM/Core/Region.php index 4f03c9e613..bc125a4281 100644 --- a/CRM/Core/Region.php +++ b/CRM/Core/Region.php @@ -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': -- 2.25.1