Skip to:
Content

BuddyPress.org

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#647 closed defect (bug) (fixed)

Incorrect parameter for html_entity_decode() in bp-activity-templatetags

Reported by: lancewillett's profile 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)

647-patch.diff (405 bytes) - added by lancewillett 15 years ago.

Download all attachments as: .zip

Change History (3)

#1 @apeatling
15 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [1310]) Fixes #647 props lancewillett

#2 @(none)
15 years ago

  • Milestone Activity Streams 1.0 deleted

Milestone Activity Streams 1.0 deleted

Note: See TracTickets for help on using tickets.