mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-03 18:04:26 +02:00
Update libs/sysplugins/smarty_internal_compile_private_special_variable.php
Fixed variable naming typo (thanks!) Co-Authored-By: Alexkurd <7689609+Alexkurd@users.noreply.github.com>
This commit is contained in:
@@ -77,7 +77,7 @@ class Smarty_Internal_Compile_Private_Special_Variable extends Smarty_Internal_C
|
||||
$compiler->trigger_template_error("(secure mode) super globals not permitted");
|
||||
break;
|
||||
}
|
||||
$variableToUpper = strtr($variable, 'abcdefghijklmnopqrstuvwxyz', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ');
|
||||
$variableUpper = strtr($variable, 'abcdefghijklmnopqrstuvwxyz', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ');
|
||||
$compiled_ref = '$_' . $variableUpper;
|
||||
break;
|
||||
case 'template':
|
||||
|
Reference in New Issue
Block a user