aboutsummaryrefslogtreecommitdiffstats
path: root/include/smarty/libs/sysplugins/smarty_internal_template.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2015-12-15 15:24:01 +0100
committerplegall <plg@piwigo.org>2015-12-15 15:24:01 +0100
commit3282ddbe2ea305edbb0b3ae84b6860c0d90ab072 (patch)
tree6ba00ec1ae9242e4784fd37eae776ad34de183a3 /include/smarty/libs/sysplugins/smarty_internal_template.php
parentacbdd756cd2a8772b4d0ebfc3ede86e71c6a495a (diff)
update Smarty to official version 3.1.28
Diffstat (limited to '')
-rw-r--r--include/smarty/libs/sysplugins/smarty_internal_template.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/smarty/libs/sysplugins/smarty_internal_template.php b/include/smarty/libs/sysplugins/smarty_internal_template.php
index 52c7391b1..7c16a53db 100644
--- a/include/smarty/libs/sysplugins/smarty_internal_template.php
+++ b/include/smarty/libs/sysplugins/smarty_internal_template.php
@@ -138,10 +138,6 @@ class Smarty_Internal_Template extends Smarty_Internal_TemplateBase
}
throw new SmartyException("Unable to load template {$this->source->type} '{$this->source->name}'{$parent_resource}");
}
- // check URL debugging control
- if (!$this->smarty->debugging && $this->smarty->debugging_ctrl == 'URL') {
- $this->smarty->_debug->debugUrl($this);
- }
// disable caching for evaluated code
if ($this->source->handler->recompiled) {
$this->caching = false;
@@ -188,7 +184,7 @@ class Smarty_Internal_Template extends Smarty_Internal_TemplateBase
} else {
if ($this->smarty->debugging) {
$this->smarty->_debug->end_template($this);
- if ($this->smarty->debugging == 2 and !$display) {
+ if ($this->smarty->debugging === 2 && $display === false) {
$this->smarty->_debug->display_debug($this, true);
}
}