mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-06-05 22:09:38 +02:00
Fix php8.1
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
|
||||
include_once __DIR__.'/../../core.php';
|
||||
|
||||
if (isset($id_record)) {
|
||||
if (!empty($id_record)) {
|
||||
$records = $dbo->fetchArray('SELECT * FROM `zz_fields` WHERE `id`='.prepare($id_record));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user