|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
Lillilotte Smarty Rookie
Joined: 09 Jan 2013 Posts: 8
|
Posted: Thu Jan 24, 2013 6:12 pm Post subject: Verwechselung von PLUGIN_BLOCK mit PLUGIN_COMPILER? |
|
|
Ich verwende Smarty 3.1.13 von der Smarty Website. Kann es sein, dass in der Datei smarty_internal_templatecompilerbase.php in Zeile 334 (Smarty_Internal_TemplateCompilerBase::compileTag()) die Konstante Smarty::PLUGIN_COMPILER mit der Konstante Smarty::PLUGIN_BLOCK verwechselt wurde?
Code: |
if ($plugin_type == Smarty::PLUGIN_BLOCK && $this->smarty->loadPlugin('smarty_compiler_' . $tag) && (!isset($this->smarty->security_policy) || $this->smarty->security_policy->isTrustedTag($tag, $this))) {
|
|
|
Back to top |
|
U.Tews Administrator
Joined: 22 Nov 2006 Posts: 5068 Location: Hamburg / Germany
|
Posted: Thu Jan 24, 2013 7:18 pm Post subject: |
|
|
Du hast recht. Dieser Fehler verfälschte die Suchreihenfolge der Plugintypen bei gleichnamigen Tags.
Der Fix ist jetzt im SVN Trunk und wird später in 3.1.14. |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|