plugins: Fix a SmartyException typo

This commit is contained in:
Ian
2022-08-08 16:26:42 +02:00
parent 36d157180a
commit 078e2dbc1b

View File

@@ -26,7 +26,7 @@ function smarty_literal_compiler_param($params, $index, $default = null)
if (!preg_match('/^([\'"]?)[a-zA-Z0-9-]+(\\1)$/', $params[ $index ])) { if (!preg_match('/^([\'"]?)[a-zA-Z0-9-]+(\\1)$/', $params[ $index ])) {
throw new SmartyException( throw new SmartyException(
'$param[' . $index . '$param[' . $index .
'] is not a literal and is thus not evaluatable at compile time' '] is not a literal and is thus not evaluable at compile time'
); );
} }
$t = null; $t = null;