Opened 13 years ago
Closed 13 years ago
#4009 closed defect (bug) (fixed)
PHP notice when activity set as static front page
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 1.6 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Core | Keywords: | |
Cc: |
Description
[13-Feb-2012 22:13:27] PHP Warning: array_key_exists() [<a href='function.array-key-exists'>function.array-key-exists</a>]: The first argument should be either a string or an integer in /Users/paul/Sites/example.com/wp-content/plugins/buddypress/bp-activity/bp-activity-template.php on line 279
Change History (2)
Note: See
TracTickets for help on using
tickets.
Fixing this by changing bp_current_action()'s false return to an empty string. Maybe should consider changing the bp_current_component() and bp_current_item() return type, too.