aboutsummaryrefslogtreecommitdiffstats
path: root/mod/events.php
diff options
context:
space:
mode:
authorZach Prezkuta <fermion@gmx.com>2013-01-06 19:34:54 -0700
committerZach Prezkuta <fermion@gmx.com>2013-01-06 19:34:54 -0700
commitb4a95460e65dbadaf074a414a9e3d9367e109f19 (patch)
treec5a88652557bf5e6ba18b6c1d6edc09740960736 /mod/events.php
parent4281a95cbcc6a6bc2eae9ec0b393af9b0ec7b739 (diff)
downloadvolse-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-xmod/events.php4
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) {