Opened 15 years ago
Closed 15 years ago
#4009 closed defect (bug) (fixed)
PHP notice when activity set as static front page
| Reported by: | DJPaul | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.6 |
| Component: | Core | Version: | |
| Severity: | normal | 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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.