replace double spaces with single spaces before exploding line to array

This commit is contained in:
Promofaux
2017-01-01 19:57:43 +00:00
parent 26d5773756
commit da39612a0b

View File

@@ -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