Index: branches/5.2.x/core/kernel/processors/tag_processor.php =================================================================== diff -u -N -r14628 -r14995 --- branches/5.2.x/core/kernel/processors/tag_processor.php (.../tag_processor.php) (revision 14628) +++ branches/5.2.x/core/kernel/processors/tag_processor.php (.../tag_processor.php) (revision 14995) @@ -1,6 +1,6 @@ Application->isDebugMode()) { - $this->Application->Debugger->appendHTML('Processing PreParsed Tag '.$Method.' in '.$this->Prefix); + if ( method_exists($this, $Method) ) { + if ( defined('DEBUG_MODE') && defined('DBG_SHOW_TAGS') && DBG_SHOW_TAGS && $this->Application->isDebugMode() ) { + $this->Application->Debugger->appendHTML('Processing PreParsed Tag ' . $Method . ' in ' . $this->Prefix); } - list ($prefix_only, ) = explode('.', $prefix); + list ($prefix_only,) = explode('.', $prefix); $this->Application->Parser->PrefixesInUse[$prefix_only] = 1; $cache_key = ''; $backup_prefix = $this->Prefix; $backup_special = $this->Special; - if ($this->Application->Parser->CachingEnabled && array_key_exists('cache_timeout', $params)) { + if ( $this->Application->Parser->CachingEnabled && array_key_exists('cache_timeout', $params) ) { // individual tag caching $cache_key = $this->FormCacheKey($tag, $params, $prefix); $res = $this->Application->Parser->getCache($cache_key); - if ($res !== false) { + if ( $res !== false ) { return $res; } } @@ -115,7 +115,7 @@ $flag_values = $this->PreparePostProcess($params); // pass_params for non ParseBlock tags :) - if ($flag_values['pass_params']) { + if ( $flag_values['pass_params'] ) { $params = array_merge($this->Application->Parser->Params, $params); } @@ -125,7 +125,7 @@ $ret = $this->PostProcess($ret, $flag_values); - if ($this->Application->Parser->CachingEnabled && $flag_values['cache_timeout']) { + if ( $this->Application->Parser->CachingEnabled && $flag_values['cache_timeout'] ) { $this->Application->Parser->setCache($cache_key, $ret, (int)$flag_values['cache_timeout']); } @@ -134,7 +134,7 @@ else { list ($ret, $tag_found) = $this->processAggregatedTag($tag, $params, $prefix, $file, $line); - if ($tag_found) { + if ( $tag_found ) { return $ret; }