fixed bugs

This commit is contained in:
olivaq@gmail.com committed 2011-02-01 16:45:58 +01:00
1 parent 98b6b46aef
commit 6956f7ddb5
1 file changed
+1 -1
+1 -1
View File
@@ -11,7 +11,7 @@ class Slide extends AppModel {
array('conditions'=>
array('Slide.enabled'=>1,
'(Slide.start IS NULL OR Slide.start <= now())',
'(Slide.top IS NULL OR Slide.stop >= now())')));
'(Slide.stop IS NULL OR Slide.stop >= now())')));
$enabledSlides = array_keys($enabledSlides);