mirror of
https://github.com/pi-hole/web.git
synced 2026-04-22 01:39:50 +01:00
replace double spaces with single spaces before exploding line to array
This commit is contained in:
@@ -440,7 +440,7 @@
|
||||
$log->rewind();
|
||||
$lines = [];
|
||||
foreach ($log as $line) {
|
||||
$exploded = explode(" ", $line);
|
||||
$exploded = explode(" ", str_replace(" "," ",$line));
|
||||
if(count($exploded) == 8 || count($exploded) == 10) {
|
||||
// Structure of data is currently like:
|
||||
// Array
|
||||
|
||||
Reference in New Issue
Block a user