Skip to content
Snippets Groups Projects
Commit 15f187c4 authored by florian HENRY's avatar florian HENRY
Browse files

better test

parent 94487cf4
No related branches found
No related tags found
No related merge requests found
......@@ -1232,7 +1232,7 @@ class ExtraFields
{
$sql.= ' as main';
}
if ($selectkey=='rowid') {
if ($selectkey=='rowid' && is_int($value)) {
$sql.= " WHERE ".$selectkey."=".$this->db->escape($value);
} else {
$sql.= " WHERE ".$selectkey."='".$this->db->escape($value)."'";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment