Skip to:
Content

BuddyPress.org

Opened 13 years ago

Closed 13 years ago

Last modified 8 years ago

#4144 closed defect (bug) (fixed)

Fix notice in bp-core-buddybar.php

Reported by: r-a-y's profile r-a-y Owned by:
Milestone: 1.6 Priority: normal
Severity: minor Version:
Component: Toolbar & Notifications Keywords: has-patch
Cc:

Description

In trunk, there is a notice for an undefined index on line 237 in bp-core-buddybar.php.

Tested on WP 3.3.1 and BP 1.6-r5976.

Attachments (1)

4144.01.patch (577 bytes) - added by r-a-y 13 years ago.

Download all attachments as: .zip

Change History (5)

@r-a-y
13 years ago

#1 @DJPaul
13 years ago

  • Milestone changed from Awaiting Review to 1.6

No problems putting the patch in (thanks for the patch!) but wondering how you managed to trigger it. I couldn't get it to break?

#2 @djpaul
13 years ago

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

(In [6002]) Protect against php notice in buddybar. Fixes #4144, props r-a-y

#3 @r-a-y
13 years ago

I triggered it when logged out. Once I was logged-in, the notice disappeared.

Here was my full notice for reference:
Notice: Undefined index: activity in PATH\wp-content\plugins\buddypress\bp-core\bp-core-buddybar.php on line 233

#4 @DJPaul
8 years ago

  • Component changed from General - Toolbar/BuddyBar to Toolbar & Notifications
Note: See TracTickets for help on using tickets.