Merge branch 'fixes/fix-get-defunts-when-thanato-only' into staging
This commit is contained in:
commit
a2e31f9a73
@ -493,6 +493,9 @@ class Bdd {
|
|||||||
$defuntListConditionPlaceholder = implode(',', array_fill(0, count($defuntsIdRelatedToThanato), '?'));
|
$defuntListConditionPlaceholder = implode(',', array_fill(0, count($defuntsIdRelatedToThanato), '?'));
|
||||||
$conditions = $defuntsIdRelatedToThanato;
|
$conditions = $defuntsIdRelatedToThanato;
|
||||||
$sql .= " WHERE ".$this->tableprefix."defunt.id IN ($defuntListConditionPlaceholder)";
|
$sql .= " WHERE ".$this->tableprefix."defunt.id IN ($defuntListConditionPlaceholder)";
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
return json_encode([]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user