Opened 23 months ago
Closed 22 months ago
#9232 closed defect (bug) (fixed)
Avoid calling BP_Notifications_Notification if it is not available.
| Reported by: | dcavins | Owned by: | dcavins |
|---|---|---|---|
| Priority: | normal | Milestone: | 15.0.0 |
| Component: | Members | Version: | 14.1.0 |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: |
Description
In some code I wrote around site invitations and membership requests, I assume that BP_Notifications_Notification is available to use, even though it might not be. The attached patch check to see if notifications are active before attempting to use the notification class.
Attachments (1)
Change History (4)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Check that notifications are active before attempting to use the nofitication class.