mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-06-05 22:09:38 +02:00
Correzione su ID a null su tabelle generali
This commit is contained in:
@@ -93,10 +93,12 @@ if (!empty($query)) {
|
|||||||
|
|
||||||
// Creazione della tabella
|
// Creazione della tabella
|
||||||
foreach ($rows as $i => $r) {
|
foreach ($rows as $i => $r) {
|
||||||
// Evitare risultati con id a null
|
// Evitare risultati con ID a null
|
||||||
|
// Codice non applicabile in ogni caso: sulla base dei permessi, ID può non essere impostato
|
||||||
|
/*
|
||||||
if (empty($r['id'])) {
|
if (empty($r['id'])) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}*/
|
||||||
|
|
||||||
$result = [
|
$result = [
|
||||||
'id' => $r['id'],
|
'id' => $r['id'],
|
||||||
|
Reference in New Issue
Block a user