Correzione su ID a null su tabelle generali
This commit is contained in:
parent
6c6b73b4c2
commit
70824e0836
|
@ -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'],
|
||||||
|
|
Loading…
Reference in New Issue