summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorwjames5 <will@tekimaki.com>2007-08-30 22:15:13 +0000
committerwjames5 <will@tekimaki.com>2007-08-30 22:15:13 +0000
commit1af03ae18618a5b6d2b9aad39cb550168ea8843e (patch)
treecf832c9ec0157a06bcfdde3fe371ad8df263b873 /templates
parent4b4edf3de0ec037a4fa7b64048efb06d46625944 (diff)
downloadarticles-1af03ae18618a5b6d2b9aad39cb550168ea8843e.tar.gz
articles-1af03ae18618a5b6d2b9aad39cb550168ea8843e.tar.bz2
articles-1af03ae18618a5b6d2b9aad39cb550168ea8843e.zip
don't try extracting params if there are none
Diffstat (limited to 'templates')
-rw-r--r--templates/center_list_articles.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/templates/center_list_articles.php b/templates/center_list_articles.php
index 999f182..9c6e3f8 100644
--- a/templates/center_list_articles.php
+++ b/templates/center_list_articles.php
@@ -1,7 +1,9 @@
<?php
-// $Header: /cvsroot/bitweaver/_bit_articles/templates/center_list_articles.php,v 1.15 2007/07/27 14:37:43 squareing Exp $
+// $Header: /cvsroot/bitweaver/_bit_articles/templates/center_list_articles.php,v 1.16 2007/08/30 22:15:13 wjames5 Exp $
global $gBitSmarty, $gBitSystem, $gQueryUserId, $moduleParams;
-extract( $moduleParams );
+if( !empty( $moduleParams ) ) {
+ extract( $moduleParams );
+}
include_once( ARTICLES_PKG_PATH.'BitArticle.php' );
include_once( ARTICLES_PKG_PATH."lookup_article_inc.php" );