Fix eliminazione sede plugin Anagrafiche

This commit is contained in:
valentina 2024-08-09 15:20:05 +02:00
parent 61e568c2a5
commit d0fa1534d9
1 changed files with 1 additions and 1 deletions

View File

@ -534,7 +534,7 @@ if (Auth::check()) {
}
if (!empty($opt)) {
$q = str_replace('|id_parent|', $id_record, $opt['main_query'][0]['query']);
$q = str_replace('|id_parent|', ($id_record?:$id_parent), $opt['main_query'][0]['query']);
$count = $dbo->fetchNum($q);
}