mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-04 10:24:26 +02:00
removed unneccesary test from fetch()
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user