Opened 17 years ago
Closed 17 years ago
#1025 closed defect (bug) (fixed)
Should declare global $bp in xprofile_insert_field()
| Reported by: | luka.bernardi | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 1.1 |
| Component: | Version: | ||
| Severity: | 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
(In [1897]) Fixes #1025 props luka.bernardi