mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-17 20:10:50 +01:00
Fix eliminazione sede plugin Anagrafiche
This commit is contained in:
parent
61e568c2a5
commit
d0fa1534d9
@ -534,7 +534,7 @@ if (Auth::check()) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!empty($opt)) {
|
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);
|
$count = $dbo->fetchNum($q);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user