mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-24 15:27:43 +01:00
Rimuovo risultati con id a null
This commit is contained in:
parent
081f80ff1b
commit
2fcf607864
@ -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 = [
|
||||
|
Loading…
x
Reference in New Issue
Block a user