// Normalize Validate class

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12603 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rMalie committed 2012-01-23 14:03:51 +00:00
1 parent b25de8dd7e
commit 7ced700942
7 files changed
+427 -412

No files matched your search

@@ -194,7 +194,7 @@ class StatsBestCategories extends ModuleGrid
if (Validate::IsName($this->_sort))
{
$this->_query .= ' ORDER BY `'.$this->_sort.'`';
if (isset($this->_direction) && Validate::IsSortDirection($this->_direction))
if (isset($this->_direction) && Validate::isSortDirection($this->_direction))
$this->_query .= ' '.$this->_direction;
}
if (($this->_start === 0 || Validate::IsUnsignedInt($this->_start)) && Validate::IsUnsignedInt($this->_limit))