This website works better with JavaScript.
Home
Explore
Help
Sign In
p3k
/
Compass
mirror of
https://github.com/aaronpk/Compass.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
0
Wiki
Activity
Browse Source
handle empty lines
pull/43/head
Aaron Parecki
3 years ago
parent
04018b38c9
commit
5d9c1db402
1 changed files
with
1 additions
and
1 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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
();
$shard
->
init
();
$record
=
false
;
$record
=
false
;
foreach
(
$shard
as
$r
)
{
foreach
(
$shard
as
$r
)
{
if
(
$r
->
date
>
$date
)
if
(
$r
&&
$r
->
date
>
$date
)
break
;
break
;
$record
=
$r
;
$record
=
$r
;
}
}
Write
Preview
Loading…
Cancel
Save