#647 closed defect (bug) (fixed)
Incorrect parameter for html_entity_decode() in bp-activity-templatetags
Reported by: | lancewillett | Owned by: | |
---|---|---|---|
Milestone: | Priority: | minor | |
Severity: | Version: | 1.0 | |
Component: | Keywords: | has_patch | |
Cc: |
Description
I see this error occasionally:
[error] PHP Warning: html_entity_decode() expects parameter 2 to be long, string given in /home/webadmin/tucsondigitalarts.com/html/wp-content/buddypress/bp-activity/bp-activity-templatetags.php on line 249
The attached patch would avoid the error by fixing the second parameter to be the expected INT rather than an empty string.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
(In [1310]) Fixes #647 props lancewillett