r-a-y / bp-reply-by-email

Reply to BuddyPress items from the comfort of your email inbox. Currently in pre-release.
GNU General Public License v2.0
63 stars 9 forks source link

listener setup can throw PHP notices #118

Closed boonebgorges closed 5 years ago

boonebgorges commented 6 years ago

Lines like https://github.com/r-a-y/bp-reply-by-email/blob/master/includes/bp-rbe-extend-bpgroupblog.php#L104 can throw a PHP notice when $rbe->listener is not set. Setting listener to new stdClass fixes the notice, but I'm not sure whether this covers up a deeper bug.