mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-04 18:34:27 +02:00
- bugfix {$smarty.cookies.foo} did return the $_COOKIE array not the 'foo' value https://github.com/smarty-php/smarty/issues/122
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
===== 3.1.29-dev ===== (xx.xx.2015)
|
||||
15.12.2015
|
||||
- bugfix {$smarty.cookies.foo} did return the $_COOKIE array not the 'foo' value https://github.com/smarty-php/smarty/issues/122
|
||||
|
||||
14.12.2015
|
||||
- bugfix {$smarty.config.foo} broken in 3.1.28 https://github.com/smarty-php/smarty/issues/120
|
||||
- bugfix multiple calls of {section} with same name droped E_NOTICE error https://github.com/smarty-php/smarty/issues/118
|
||||
|
@@ -118,7 +118,7 @@ class Smarty extends Smarty_Internal_TemplateBase
|
||||
/**
|
||||
* smarty version
|
||||
*/
|
||||
const SMARTY_VERSION = '3.1.29-dev/3';
|
||||
const SMARTY_VERSION = '3.1.29-dev/4';
|
||||
|
||||
/**
|
||||
* define variable scopes
|
||||
|
@@ -54,7 +54,8 @@ class Smarty_Internal_Compile_Private_Special_Variable extends Smarty_Internal_C
|
||||
$compiler->trigger_template_error("(secure mode) super globals not permitted");
|
||||
break;
|
||||
}
|
||||
return '$_COOKIE';
|
||||
$compiled_ref = '$_COOKIE';
|
||||
break;
|
||||
case 'get':
|
||||
case 'post':
|
||||
case 'env':
|
||||
|
Reference in New Issue
Block a user