From 00be382842657a0b0031a508b4da71641dde26d1 Mon Sep 17 00:00:00 2001 From: uwetews Date: Wed, 9 Mar 2016 04:03:37 +0100 Subject: [PATCH] fix function name case --- libs/sysplugins/smarty_internal_runtime_codeframe.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/sysplugins/smarty_internal_runtime_codeframe.php b/libs/sysplugins/smarty_internal_runtime_codeframe.php index 810a036e..efb08a89 100644 --- a/libs/sysplugins/smarty_internal_runtime_codeframe.php +++ b/libs/sysplugins/smarty_internal_runtime_codeframe.php @@ -74,7 +74,7 @@ class Smarty_Internal_Runtime_CodeFrame foreach ($_template->compiled->required_plugins[ 'nocache' ] as $tmp) { foreach ($tmp as $data) { $file = addslashes($data[ 'file' ]); - if (is_Array($data[ 'function' ])) { + if (is_array($data[ 'function' ])) { $output .= addslashes("if (!is_callable(array('{$data['function'][0]}','{$data['function'][1]}'))) require_once '{$file}';\n"); } else { $output .= addslashes("if (!is_callable('{$data['function']}')) require_once '{$file}';\n");