fix on $value
This commit is contained in:
parent
12d10adc17
commit
fe6b25ede6
@ -1902,10 +1902,10 @@ class ActionComm extends CommonObject
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ($key == 'module') {
|
if ($key == 'module') {
|
||||||
$sql .= " AND c.module LIKE '%".$value."'";
|
$sql .= " AND c.module LIKE '%".$this->db->escape($value)."'";
|
||||||
}
|
}
|
||||||
if ($key == 'status') {
|
if ($key == 'status') {
|
||||||
$sql .= " AND a.status =".$value;
|
$sql .= " AND a.status =".((int) $value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user