During the beginning of the month with the log having two spaces between Month & Day we get 9 values back instead of 8.  Stripping double spaces fixes.  E.G. `Oct  1` comapred to `Sep 26`
This commit is contained in:
Adam Hill
2016-10-01 10:18:52 -05:00
committed by GitHub
parent 68fa76fb9a
commit b372c2e3d2
+1
View File
@@ -266,6 +266,7 @@
}
function findAds($var) {
$var = preg_replace('/ {2,}/', ' ', $var);
$exploded = explode(" ", $var);
if(count($exploded) == 8) {
$tmp = $exploded[count($exploded) - 4];