From 76fedb28dbf8fb9fb0ae359940a6efccedfebcd9 Mon Sep 17 00:00:00 2001 From: mDeflotte Date: Thu, 29 Sep 2011 14:42:03 +0000 Subject: [PATCH] // Remove "space" in class Tools git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@8884 b9a71923-0436-4b27-9f14-aed3839534dd --- classes/Tools.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/classes/Tools.php b/classes/Tools.php index 658509ffd..842400821 100644 --- a/classes/Tools.php +++ b/classes/Tools.php @@ -269,7 +269,7 @@ class ToolsCore */ public static function getValue($key, $defaultValue = false) { - if (!isset($key) OR empty($key) OR !is_string($key)) + if (!isset($key) OR empty($key) OR !is_string($key)) return false; $ret = (isset($_POST[$key]) ? $_POST[$key] : (isset($_GET[$key]) ? $_GET[$key] : $defaultValue)); @@ -280,9 +280,9 @@ class ToolsCore public static function getIsset($key) { - if (!isset($key) OR empty($key) OR !is_string($key)) + if (!isset($key) OR empty($key) OR !is_string($key)) return false; - return isset($_POST[$key]) ? true : (isset($_GET[$key]) ? true : false); + return isset($_POST[$key]) ? true : (isset($_GET[$key]) ? true : false); } /**