Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Verwechselung von PLUGIN_BLOCK mit PLUGIN_COMPILER?

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Language: German
View previous topic :: View next topic  
Author Message
Lillilotte
Smarty Rookie


Joined: 09 Jan 2013
Posts: 8

PostPosted: Thu Jan 24, 2013 6:12 pm    Post subject: Verwechselung von PLUGIN_BLOCK mit PLUGIN_COMPILER? Reply with quote

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
View user's profile Send private message
U.Tews
Administrator


Joined: 22 Nov 2006
Posts: 5068
Location: Hamburg / Germany

PostPosted: Thu Jan 24, 2013 7:18 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Language: German All times are GMT
Page 1 of 1

 
Jump to:  
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
Protected by Anti-Spam ACP