From 5448fecc9dd4411913495871ce7375b1f58dea46 Mon Sep 17 00:00:00 2001 From: uwetews Date: Mon, 24 Apr 2017 18:21:37 +0200 Subject: [PATCH] - fix spelling https://github.com/smarty-php/smarty/commit/e3eda8a5f5653d8abb960eb1bc47e3eca679b1b4#commitcomment-21803095 --- change_log.txt | 3 +++ libs/sysplugins/smarty_internal_templatecompilerbase.php | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/change_log.txt b/change_log.txt index 999ea925..b5326ead 100644 --- a/change_log.txt +++ b/change_log.txt @@ -1,4 +1,7 @@ ===== 3.1.32 - dev === +24.4.2017 + - fix spelling https://github.com/smarty-php/smarty/commit/e3eda8a5f5653d8abb960eb1bc47e3eca679b1b4#commitcomment-21803095 + 17.4.2017 - correct generated code on empty() and isset() call, observe change PHP behaviour since PHP 5.5 https://github.com/smarty-php/smarty/issues/347 diff --git a/libs/sysplugins/smarty_internal_templatecompilerbase.php b/libs/sysplugins/smarty_internal_templatecompilerbase.php index 3d275861..70c832a8 100644 --- a/libs/sysplugins/smarty_internal_templatecompilerbase.php +++ b/libs/sysplugins/smarty_internal_templatecompilerbase.php @@ -807,7 +807,7 @@ abstract class Smarty_Internal_TemplateCompilerBase $parHasFuction = strpos($par, '(') !== false; if ($func_name === 'isset') { if (count($parameter) === 0) { - $this->trigger_template_error('Illegal number of paramer in "isset()"'); + $this->trigger_template_error('Illegal number of parameter in "isset()"'); } if ($parHasFuction) { $pa = array(); @@ -826,7 +826,7 @@ abstract class Smarty_Internal_TemplateCompilerBase 'prev', 'next'))) { if (count($parameter) !== 1) { - $this->trigger_template_error("Illegal number of paramer in '{$func_name()}'"); + $this->trigger_template_error("Illegal number of parameter in '{$func_name()}'"); } if ($func_name === 'empty') { if ($parHasFuction && version_compare(PHP_VERSION, '5.5.0', '<')) {