Merge branch 'fixes/fix-get-defunts-when-thanato-only' into staging

This commit is contained in:
Tiavina 2025-01-09 16:30:24 +03:00
commit a2e31f9a73

View File

@ -493,6 +493,9 @@ class Bdd {
$defuntListConditionPlaceholder = implode(',', array_fill(0, count($defuntsIdRelatedToThanato), '?'));
$conditions = $defuntsIdRelatedToThanato;
$sql .= " WHERE ".$this->tableprefix."defunt.id IN ($defuntListConditionPlaceholder)";
}
else{
return json_encode([]);
}
}
}