Opened 16 years ago
Closed 16 years ago
#1025 closed defect (bug) (fixed)
Should declare global $bp in xprofile_insert_field()
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | 1.1 | Priority: | major |
| Severity: | Version: | ||
| Component: | Keywords: | ||
| Cc: |
Description
On line 807 it's used
$bp->profile->field_types
In the following calling
if ( !in_array( $type, $bp->profile->field_types ) ) return false;
I assume that $bp is the global variable so it's necessary declare
global $bp
inside the function.
Change History (2)
Note: See
TracTickets for help on using
tickets.
(In [1897]) Fixes #1025 props luka.bernardi