summaryrefslogtreecommitdiff
path: root/protected/models/Veranstaltung.php
diff options
context:
space:
mode:
authorPatrick Seeger <pseeger@ccwn.org>2012-06-25 23:32:25 +0200
committerPatrick Seeger <pseeger@ccwn.org>2012-06-25 23:32:25 +0200
commit66e981bd3d3f9946afed0efbcaf8efa7907c530f (patch)
treed7dcb28617055cf8690c68f79058032d00a0e6fb /protected/models/Veranstaltung.php
parentb938b240a36bb7098a952d1b0bf0307a24c9dc36 (diff)
Anzeige korrektur
Diffstat (limited to 'protected/models/Veranstaltung.php')
-rw-r--r--protected/models/Veranstaltung.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/protected/models/Veranstaltung.php b/protected/models/Veranstaltung.php
index a0f1f9d..0117033 100644
--- a/protected/models/Veranstaltung.php
+++ b/protected/models/Veranstaltung.php
@@ -126,7 +126,6 @@ class Veranstaltung extends CActiveRecord
//$criteria->compare("endzeit"," <= ".$now,'AND');
$criteria->condition = '(startzeit between SUBDATE(NOW(),INTERVAL 1 HOUR) and ADDDATE(NOW(),INTERVAL 1 HOUR) OR startzeit < NOW() and endzeit > NOW() ) and endzeit > NOW() and published = 1';
$criteria->order = "startzeit ASC";
- Yii::trace(print_r($criteria,true));
return new CActiveDataProvider($this, array(
'criteria'=>$criteria,
));