1
0
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:
valentina 2024-08-09 15:20:05 +02:00
parent 61e568c2a5
commit d0fa1534d9

View File

@ -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);
} }