// Normalize Validate class
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user