return empty when the user connected is thanatonly and there is no defunt related to the thanato on get defunts list
This commit is contained in:
parent
d34fb59f56
commit
fecb319d6b
@ -494,6 +494,9 @@ class Bdd {
|
||||
$conditions = $defuntsIdRelatedToThanato;
|
||||
$sql .= " WHERE ".$this->tableprefix."defunt.id IN ($defuntListConditionPlaceholder)";
|
||||
}
|
||||
else{
|
||||
return json_encode([]);
|
||||
}
|
||||
}
|
||||
}
|
||||
$sql .= " ORDER BY ".$this->tableprefix."defunt.id DESC;";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user