aboutsummaryrefslogtreecommitdiffstats
path: root/library/Smarty/libs/sysplugins/smarty_internal_template.php
diff options
context:
space:
mode:
authorHaakon Meland Eriksen <haakon.eriksen@far.no>2015-12-18 16:04:07 +0100
committerHaakon Meland Eriksen <haakon.eriksen@far.no>2015-12-18 16:04:07 +0100
commit628e565a6c5ee52341ba6de0b5ecf6495cbb78f8 (patch)
tree737c1027334a211b62b4a278f87be80bb7e17a4c /library/Smarty/libs/sysplugins/smarty_internal_template.php
parenta721f39945bf3213c4305a389946c464b831a5f9 (diff)
parent84bf7058119bb2ed48358678be9c212a66c8cb83 (diff)
downloadvolse-hubzilla-628e565a6c5ee52341ba6de0b5ecf6495cbb78f8.tar.gz
volse-hubzilla-628e565a6c5ee52341ba6de0b5ecf6495cbb78f8.tar.bz2
volse-hubzilla-628e565a6c5ee52341ba6de0b5ecf6495cbb78f8.zip
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'library/Smarty/libs/sysplugins/smarty_internal_template.php')
-rw-r--r--library/Smarty/libs/sysplugins/smarty_internal_template.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/library/Smarty/libs/sysplugins/smarty_internal_template.php b/library/Smarty/libs/sysplugins/smarty_internal_template.php
index 52c7391b1..7c16a53db 100644
--- a/library/Smarty/libs/sysplugins/smarty_internal_template.php
+++ b/library/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);
}
}