summaryrefslogtreecommitdiff
path: root/ajax_comments.php
diff options
context:
space:
mode:
authorwjames5 <will@tekimaki.com>2007-07-26 20:17:47 +0000
committerwjames5 <will@tekimaki.com>2007-07-26 20:17:47 +0000
commit0660812a92b5f87b4affabe3aefc0b76fee54675 (patch)
treebdf60edfbfaad2796229e51e362decb48ac5b414 /ajax_comments.php
parent6fa1078cda4967e3f31f59722d5924a5da4e9a26 (diff)
downloadliberty-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.php4
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' )) {