// Normalize Validate class
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user