diff options
author | Zach Prezkuta <fermion@gmx.com> | 2013-01-06 19:34:54 -0700 |
---|---|---|
committer | Zach Prezkuta <fermion@gmx.com> | 2013-01-06 19:34:54 -0700 |
commit | b4a95460e65dbadaf074a414a9e3d9367e109f19 (patch) | |
tree | c5a88652557bf5e6ba18b6c1d6edc09740960736 /mod/events.php | |
parent | 4281a95cbcc6a6bc2eae9ec0b393af9b0ec7b739 (diff) | |
download | volse-hubzilla-b4a95460e65dbadaf074a414a9e3d9367e109f19.tar.gz volse-hubzilla-b4a95460e65dbadaf074a414a9e3d9367e109f19.tar.bz2 volse-hubzilla-b4a95460e65dbadaf074a414a9e3d9367e109f19.zip |
fix show-stopping bugs
Diffstat (limited to 'mod/events.php')
-rwxr-xr-x | mod/events.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/events.php b/mod/events.php index e6ee19c47..7886f27c0 100755 --- a/mod/events.php +++ b/mod/events.php @@ -261,7 +261,7 @@ function events_content(&$a) { $links = array(); - if(count($r)) { + if($r) { $r = sort_by_date($r); foreach($r as $rr) { $j = (($rr['adjust']) ? datetime_convert('UTC',date_default_timezone_get(),$rr['start'], 'j') : datetime_convert('UTC','UTC',$rr['start'],'j')); @@ -276,7 +276,7 @@ function events_content(&$a) { $last_date = ''; $fmt = t('l, F j'); - if(count($r)) { + if($r) { $r = sort_by_date($r); foreach($r as $rr) { |