[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: www/areas/events
From: Tom Albers <toma () kde ! org>
Date: 2010-08-02 18:18:02
Message-ID: 20100802181802.78FA7AC7A9 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1158395 by toma:
Compensate for behaviour change of php after updating immanuel. Makes http://events.kde.org/upcoming.php \
work again BUG=246496
M +1 -1 parse_gm_feed.inc
--- trunk/www/areas/events/parse_gm_feed.inc #1158394:1158395
@@ -109,7 +109,7 @@
$location = $where[0]['attribs']['']['valueString'];
// If there's actually a title here (private events don't have titles) and it's not cancelled...
-if (strlen(trim($item->get_title()))>1 && $status != "canceled" && strlen(trim($when)) > 0) {
+if (strlen(trim($item->get_title()))>1 && $status != "canceled" && count($when) > 0) {
$temp[] = array('date'=>$unixdate, 'where'=>$location, 'title'=>$item->get_title(), \
'description'=>$item->get_description(), 'link'=>$item->get_link(), 'permalink'=>$permalink, \
'startTime'=>$unixdate, 'endTime'=>$unixenddate); }
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic