// Normalize Validate class

This commit is contained in:
rMalie committed 2012-01-23 14:03:51 +00:00
1 parent 4fdae718ed
commit 3c395ccefa
7 files changed
+427 -412

No files matched your search

@@ -178,7 +178,7 @@ class StatsBestProducts 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;
}