Fix eliminazione sede plugin Anagrafiche
This commit is contained in:
parent
61e568c2a5
commit
d0fa1534d9
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue