mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-06-05 22:09:38 +02:00
Fix eliminazione sede plugin Anagrafiche
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user