From c151a1e534a46f486bd57f427b384b029b6a186c Mon Sep 17 00:00:00 2001 From: mohrt Date: Thu, 24 Jan 2002 15:34:43 +0000 Subject: [PATCH] removed unneccesary test from fetch() --- Smarty.class.php | 2 +- libs/Smarty.class.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Smarty.class.php b/Smarty.class.php index 1bf3edb7..18a4b8d2 100644 --- a/Smarty.class.php +++ b/Smarty.class.php @@ -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; } diff --git a/libs/Smarty.class.php b/libs/Smarty.class.php index 1bf3edb7..18a4b8d2 100644 --- a/libs/Smarty.class.php +++ b/libs/Smarty.class.php @@ -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; }