fix for id not an integer

This commit is contained in:
Ralf Becker
2003-11-14 21:09:37 +00:00
parent 2d0581d1ed
commit df93243fbc

View File

@ -258,7 +258,7 @@
return $id_list[$account_id];
}
$this->db->query('SELECT account_lid FROM phpgw_accounts WHERE account_id=' . $account_id,__LINE__,__FILE__);
$this->db->query('SELECT account_lid FROM phpgw_accounts WHERE account_id=' . intval($account_id),__LINE__,__FILE__);
if($this->db->num_rows())
{
$this->db->next_record();