From ea7f5b9d83642fb8abf1c138daf41ced6ffe7a19 Mon Sep 17 00:00:00 2001 From: real_nowhereman Date: Mon, 11 Feb 2008 07:56:16 +0000 Subject: [PATCH] does not 404 on rss (fixes rev59) - yay rev60! :D --- index.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/index.php b/index.php index c0e7eea..5185f12 100644 --- a/index.php +++ b/index.php @@ -132,6 +132,7 @@ global $fpdb, $smarty, $fp_config; $params = array(); $module = 'index.tpl' ; + $can404 = true; if (!empty($_GET['entry'])) { @@ -153,6 +154,8 @@ } else { if (!empty($_GET['feed'])){ + + $can404=false; switch($_GET['feed']) { case 'atom': @@ -181,7 +184,7 @@ /* no entry found : 404 */ - if (!$e) + if (!$e && $can404) $module = index_404error(); return $module;