[-] MO : fixed bad character in the statsbestvouchers module

This commit is contained in:
Damien Metzger committed 2012-12-26 12:01:08 +01:00
1 parent d02d595e84
commit 404f366748
1 file changed
+1 -1
@@ -120,7 +120,7 @@ class StatsBestVouchers extends ModuleGrid
if (Validate::IsName($this->_sort)) if (Validate::IsName($this->_sort))
{ {
$this->_query .= ' ORDER BY `'.$this->_sort.'`'; $this->_query .= ' ORDER BY `'.$this->_sort.'`';
if (isset($this->_direction) && (strtoupper($this->_direction) == 'ASC' || strtoupper($this->_direction) == 'DESC')) if (isset($this->_direction) && (strtoupper($this->_direction) == 'ASC' || strtoupper($this->_direction) == 'DESC'))
$this->_query .= ' '.pSQL($this->_direction); $this->_query .= ' '.pSQL($this->_direction);
} }
if (($this->_start === 0 || Validate::IsUnsignedInt($this->_start)) && Validate::IsUnsignedInt($this->_limit)) if (($this->_start === 0 || Validate::IsUnsignedInt($this->_start)) && Validate::IsUnsignedInt($this->_limit))