Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.
Verwechselung von PLUGIN_BLOCK mit PLUGIN_COMPILER?

 
Post new topic   Reply to topic    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: 4643
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
jacz
Smarty Pro


Joined: 13 Nov 2010
Posts: 249

PostPosted: Fri Jan 25, 2013 2:02 pm    Post subject: Reply with quote

Lillilotte: Daumen hoch ! So etwas bemerkt wirklich nicht jeder.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    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