diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2006-01-10 21:11:26 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2006-01-10 21:11:26 +0000 |
| commit | 9aa9bb1cd5d5e3d78cf7fbe243353fe065024fc8 (patch) | |
| tree | 937a0157280208ce13ceb3e1b44430ab755055fc /lookup_post_inc.php | |
| parent | e70bdd1ac9eeb6466a7e8dcaaf3f00ce3c6bd8d7 (diff) | |
| download | blogs-9aa9bb1cd5d5e3d78cf7fbe243353fe065024fc8.tar.gz blogs-9aa9bb1cd5d5e3d78cf7fbe243353fe065024fc8.tar.bz2 blogs-9aa9bb1cd5d5e3d78cf7fbe243353fe065024fc8.zip | |
merge recent changes into HEAD
Diffstat (limited to 'lookup_post_inc.php')
| -rw-r--r-- | lookup_post_inc.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lookup_post_inc.php b/lookup_post_inc.php index d1902cf..5e20677 100644 --- a/lookup_post_inc.php +++ b/lookup_post_inc.php @@ -6,12 +6,12 @@ global $gContent, $gBitSmarty; - if( empty( $gContent ) || !is_object( $gContent ) || !$gContent->isValid() ) { +// if( empty( $gContent ) || !is_object( $gContent ) || !$gContent->isValid() ) { $postId = @BitBase::verifyId( $_REQUEST['post_id'] ) ? $_REQUEST['post_id'] : NULL; $conId = @BitBase::verifyId( $_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 ); - } + $gBitSmarty->assign( 'gContent', $gContent ); +// } ?> |
