Browse Source

handle empty lines

pull/43/head
Aaron Parecki 3 years ago
parent
commit
5d9c1db402
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      compass/app/Http/Controllers/LocalTime.php

+ 1
- 1
compass/app/Http/Controllers/LocalTime.php View File

@ -118,7 +118,7 @@ class LocalTime extends BaseController
$shard->init();
$record = false;
foreach($shard as $r) {
if($r->date > $date)
if($r && $r->date > $date)
break;
$record = $r;
}

Loading…
Cancel
Save