Update skillrank.class.php
This commit is contained in:
parent
bea431cbb9
commit
74c4cb618d
@ -414,7 +414,7 @@ class SkillRank extends CommonObject
|
||||
if (count($filter) > 0) {
|
||||
foreach ($filter as $key => $value) {
|
||||
if ($key == 't.rowid') {
|
||||
$sqlwhere[] = $key." = ".$value;
|
||||
$sqlwhere[] = $key." = ".((int) $value);
|
||||
} elseif ($key != 'customsql' && in_array($this->fields[$key]['type'], array('date', 'datetime', 'timestamp'))) {
|
||||
$sqlwhere[] = $key." = '".$this->db->idate($value)."'";
|
||||
} elseif ($key == 'customsql') {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user