mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-06-05 22:09:38 +02:00
Rimuovo risultati con id a null
This commit is contained in:
@ -91,6 +91,13 @@ if (!empty($query)) {
|
||||
}
|
||||
}
|
||||
|
||||
//Rimuovo risultati con id a null
|
||||
foreach ( $rows as $i => $r ) {
|
||||
if ( empty($r['id'] ) ) {
|
||||
unset($rows[$i]);
|
||||
}
|
||||
}
|
||||
|
||||
// Creazione della tabella
|
||||
foreach ($rows as $i => $r) {
|
||||
$result = [
|
||||
|
Reference in New Issue
Block a user