removed unneccesary test from fetch()

This commit is contained in:
mohrt
2002-01-24 15:34:43 +00:00
parent a67ad06eb6
commit c151a1e534
2 changed files with 2 additions and 2 deletions

View File

@@ -523,7 +523,7 @@ class Smarty
global $HTTP_SERVER_VARS, $QUERY_STRING, $HTTP_COOKIE_VARS;
if (!$this->debugging && $this->debugging_ctrl == 'URL'
&& (!empty($QUERY_STRING) && strstr($QUERY_STRING, $this->_smarty_debug_id))) {
&& strstr($QUERY_STRING, $this->_smarty_debug_id))) {
$this->debugging = true;
}

View File

@@ -523,7 +523,7 @@ class Smarty
global $HTTP_SERVER_VARS, $QUERY_STRING, $HTTP_COOKIE_VARS;
if (!$this->debugging && $this->debugging_ctrl == 'URL'
&& (!empty($QUERY_STRING) && strstr($QUERY_STRING, $this->_smarty_debug_id))) {
&& strstr($QUERY_STRING, $this->_smarty_debug_id))) {
$this->debugging = true;
}