From a9052fc0211d43cf08f3436d7e255cad68cb9237 Mon Sep 17 00:00:00 2001 From: "Pierre Habouzit (MadCoder" Date: Sun, 16 Jan 2005 23:59:13 +0000 Subject: [PATCH] wibble git-archimport-id: opensource@polytechnique.org--2005/platal--mainline--0.9--patch-363 --- htdocs/rss.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/htdocs/rss.php b/htdocs/rss.php index aa7a9b3..8d98b07 100644 --- a/htdocs/rss.php +++ b/htdocs/rss.php @@ -22,7 +22,6 @@ require_once('xorg.inc.php'); new_nonhtml_page('rss.tpl', AUTH_PUBLIC); -if (!Env::has('promo')) { exit; } require_once('rss.inc.php'); $rss = $globals->xdb->iterator( @@ -32,7 +31,7 @@ $rss = $globals->xdb->iterator( AND (e.promo_min = 0 || e.promo_min <= {?}) AND (e.promo_max = 0 || e.promo_max >= {?}) ORDER BY (e.promo_min != 0 AND e.promo_max != 0) DESC, e.peremption', - Env::getInt('promo'), Env::getInt('promo')); + Env::getInt('promo', 3000), Env::getInt('promo')); $page->assign('rss', $rss); header('Content-Type: text/xml; charset=utf-8'); -- 2.1.4