summaryrefslogtreecommitdiff
path: root/article_history.php
diff options
context:
space:
mode:
Diffstat (limited to 'article_history.php')
-rw-r--r--article_history.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/article_history.php b/article_history.php
index 7ad72d1..4a8d525 100644
--- a/article_history.php
+++ b/article_history.php
@@ -16,7 +16,7 @@
/**
* required setup
*/
-require_once( '../kernel/setup_inc.php' );
+require_once '../kernel/setup_inc.php';
require_once( ARTICLES_PKG_PATH.'BitArticle.php' );
$gBitSystem->verifyPackage( 'articles' );
@@ -56,8 +56,6 @@ $gBitSmarty->assign_by_ref( 'listInfo', $history['listInfo'] );
$numPages = ceil( $gContent->getHistoryCount() / $gBitSystem->getConfig('max_records', 20) );
$gBitSmarty->assign( 'numPages', $numPages );
-
// Display the template
$gBitSmarty->assign_by_ref( 'gContent', $gContent );
$gBitSystem->display( 'bitpackage:articles/article_history.tpl', NULL, array( 'display_mode' => 'display' ));
-?>