From 844dc14c9e5faacab585e8d00681437c32f0293e Mon Sep 17 00:00:00 2001 From: Christian Fowler Date: Thu, 23 Mar 2006 21:58:23 +0000 Subject: fix undefined var --- print_blog_post.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'print_blog_post.php') diff --git a/print_blog_post.php b/print_blog_post.php index 9440b1b..0981fe3 100644 --- a/print_blog_post.php +++ b/print_blog_post.php @@ -1,6 +1,6 @@ mUserId && $gBitUser->mUserId == $gContent->mInfo['blog_user_id'] $gBitSmarty->assign('ownsblog', $ownsblog); if ($gBitSystem->isFeatureActive( 'blogposts_comments' )) { - $comments_return_url = $_SERVER['PHP_SELF']."?post_id=$post_id"; + $comments_return_url = $_SERVER['PHP_SELF']."?post_id=".$gContent->getField( 'post_id' ); $commentsParentId = $gContent->mContentId; include_once ( LIBERTY_PKG_PATH.'comments_inc.php' ); } -- cgit v1.3