// Remove "space" in class Tools
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@8884 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
+3
-3
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user