mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-06-05 22:09:38 +02:00
Correzioni minori
This commit is contained in:
@ -91,15 +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) {
|
||||
// Evitare risultati con id a null
|
||||
if (empty($r['id'])) {
|
||||
continue;
|
||||
}
|
||||
|
||||
$result = [
|
||||
'id' => $r['id'],
|
||||
'<span class="hide" data-id="'.$r['id'].'"></span>', // Colonna ID
|
||||
|
Reference in New Issue
Block a user