[buddypress-trac] [BuddyPress Trac] #5862: activity comment replies problem when bp_activity_current_comment returns false

buddypress-trac noreply at wordpress.org
Sat Sep 6 16:17:59 UTC 2014


#5862: activity comment replies problem when bp_activity_current_comment returns
false
--------------------------+------------------------------
 Reporter:  shanebp       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Activity      |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------
Changes (by shanebp):

 * cc: shane@… (added)


Comment:

 >$comment is false and is therefore a non-object.

 So the next line fails:

 {{{
 $parent_activity = new BP_Activity_Activity( $comment->item_id );
 }}}

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5862#comment:1>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list