Refactored accounting

Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
Janos SUTO
2022-11-29 18:20:17 +01:00
parent cbc852e735
commit a4175cfa11
4 changed files with 51 additions and 31 deletions

View File

@ -478,8 +478,7 @@ class ModelSearchSearch extends Model {
$session = Registry::get('session');
$q = str_repeat(",?", count($ids));
$q = substr($q, 1, strlen($q));
$q = get_q_string($ids);
$query = $this->db->query("SELECT `id`, `to` FROM `" . TABLE_RCPT . "` WHERE `id` IN ($q)", $ids);