summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwjames5 <will@tekimaki.com>2009-10-09 04:24:13 +0000
committerwjames5 <will@tekimaki.com>2009-10-09 04:24:13 +0000
commitb516e577b6667814a688e3197519e7bf0cd548bf (patch)
tree03f546a29a251317b364e3de6a1b2aa80efaf1db
parent89ad696dc37cfa430821fd0b9f7605f2e8912163 (diff)
downloadrss-PRE_BIT_SETUP_CHANGE.tar.gz
rss-PRE_BIT_SETUP_CHANGE.tar.bz2
rss-PRE_BIT_SETUP_CHANGE.zip
allow pkg to set pkg menu with request parampre_deprecate_bit_setup_incR270PRE_BIT_SETUP_CHANGE
-rw-r--r--index.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/index.php b/index.php
index 6bb85a8..c18e6d9 100644
--- a/index.php
+++ b/index.php
@@ -1,6 +1,6 @@
<?php
/**
- * $Header: /cvsroot/bitweaver/_bit_rss/index.php,v 1.10 2009/10/02 18:17:47 wjames5 Exp $
+ * $Header: /cvsroot/bitweaver/_bit_rss/index.php,v 1.11 2009/10/09 04:24:13 wjames5 Exp $
*
* Copyright ( c ) 2004 bitweaver.org
* Copyright ( c ) 2003 tikwiki.org
@@ -8,7 +8,7 @@
* All Rights Reserved. See below for details and a complete list of authors.
* Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See http://www.gnu.org/copyleft/lesser.html for details
*
- * $Id: index.php,v 1.10 2009/10/02 18:17:47 wjames5 Exp $
+ * $Id: index.php,v 1.11 2009/10/09 04:24:13 wjames5 Exp $
* @package pigeonholes
* @subpackage functions
*/
@@ -48,6 +48,7 @@ if( !empty( $_REQUEST['get_feed'] ) ) {
$feedlink['pkg'] = $_REQUEST['pkg'];
$feedlink['format'] = $_REQUEST['format'];
} else {
+ $feedlink['pkg'] = !empty($_REQUEST['pkg'])?$_REQUEST['pkg']:NULL;
$feedlink['format'] = $gBitSystem->getConfig( 'rssfeed_default_version' );
}
$gBitSmarty->assign( 'feedlink', $feedlink );