mirror of
https://github.com/pi-hole/web.git
synced 2026-05-08 09:39:05 +01:00
Substitute null client names by empty strings.
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
@@ -209,7 +209,7 @@ if ($_POST['action'] == 'get_groups') {
|
||||
// Loop over results
|
||||
$ips = array();
|
||||
while ($res = $query->fetchArray(SQLITE3_ASSOC)) {
|
||||
$ips[$res['ip']] = $res['name'];
|
||||
$ips[$res['ip']] = $res['name'] !== null ? $res['name'] : '';
|
||||
}
|
||||
$FTLdb->close();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user