diff options
| author | wjames5 <will@tekimaki.com> | 2007-07-26 20:17:47 +0000 |
|---|---|---|
| committer | wjames5 <will@tekimaki.com> | 2007-07-26 20:17:47 +0000 |
| commit | 0660812a92b5f87b4affabe3aefc0b76fee54675 (patch) | |
| tree | bdf60edfbfaad2796229e51e362decb48ac5b414 /ajax_comments.php | |
| parent | 6fa1078cda4967e3f31f59722d5924a5da4e9a26 (diff) | |
| download | liberty-0660812a92b5f87b4affabe3aefc0b76fee54675.tar.gz liberty-0660812a92b5f87b4affabe3aefc0b76fee54675.tar.bz2 liberty-0660812a92b5f87b4affabe3aefc0b76fee54675.zip | |
update comments to relay root_id to ajax comments
Diffstat (limited to 'ajax_comments.php')
| -rw-r--r-- | ajax_comments.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ajax_comments.php b/ajax_comments.php index 59ecd05..6cc5bd5 100644 --- a/ajax_comments.php +++ b/ajax_comments.php @@ -1,6 +1,6 @@ <?php /** - * @version $Header: /cvsroot/bitweaver/_bit_liberty/ajax_comments.php,v 1.5 2007/07/24 14:26:47 wjames5 Exp $ + * @version $Header: /cvsroot/bitweaver/_bit_liberty/ajax_comments.php,v 1.6 2007/07/26 20:17:47 wjames5 Exp $ * @package liberty * @subpackage functions */ @@ -11,7 +11,7 @@ require_once( '../bit_setup_inc.php' ); $staticContent = new LibertyContent(); -$gContent = $staticContent->getLibertyObject( $_REQUEST['parent_id'], $_REQUEST['parent_guid'] ); +$gContent = $staticContent->getLibertyObject( $_REQUEST['parent_id'], (!empty($_REQUEST['parent_guid'])?$_REQUEST['parent_guid']:NULL) ); $XMLContent = ""; if( !$gBitUser->hasPermission( 'p_liberty_post_comments' )) { |
