diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2005-08-24 20:49:32 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2005-08-24 20:49:32 +0000 |
| commit | 7dc5f7acdcb59b21791739016e07ee7032305e22 (patch) | |
| tree | 2e4fda6b2fbec7fb28ada1837cb927d68fc21989 /lookup_post_inc.php | |
| parent | b8ff879105513e1c8b702e2dd8a666d767778d97 (diff) | |
| download | blogs-7dc5f7acdcb59b21791739016e07ee7032305e22.tar.gz blogs-7dc5f7acdcb59b21791739016e07ee7032305e22.tar.bz2 blogs-7dc5f7acdcb59b21791739016e07ee7032305e22.zip | |
synch recent changes from R1 to HEAD
Diffstat (limited to 'lookup_post_inc.php')
| -rw-r--r-- | lookup_post_inc.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lookup_post_inc.php b/lookup_post_inc.php index dabb050..9aed005 100644 --- a/lookup_post_inc.php +++ b/lookup_post_inc.php @@ -7,8 +7,9 @@ global $gContent, $gBitSmarty; if( empty( $gContent ) || !is_object( $gContent ) || !$gContent->isValid() ) { - $postId = isset( $_REQUEST['post_id'] ) ? $_REQUEST['post_id'] : NULL; - $gContent = new BitBlogPost( $postId ); + $postId = !empty( $_REQUEST['post_id'] ) ? $_REQUEST['post_id'] : NULL; + $conId = !empty( $_REQUEST['content_id'] ) ? $_REQUEST['content_id'] : NULL; + $gContent = new BitBlogPost( $postId, $conId ); $gContent->load(); $comments_return_url = $_SERVER['PHP_SELF']."?post_id=$postId"; $gBitSmarty->assign_by_ref( 'gContent', $gContent ); |
