Skip to:
Content

BuddyPress.org

Opened 13 years ago

Closed 13 years ago

#4009 closed defect (bug) (fixed)

PHP notice when activity set as static front page

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

#1 @DJPaul
13 years ago

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.

#2 @djpaul
13 years ago

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

(In [5783]) Fix PHP notices when activity set to static front page. Fixes #4009

Note: See TracTickets for help on using tickets.