Opened 13 years ago
Closed 12 years ago
#1646 closed defect (bug) (fixed)
Bozo User plugin bug
Reported by: | 7i7GRiFFiN | Owned by: | |
---|---|---|---|
Milestone: | 1.2 | Priority: | normal |
Severity: | normal | Version: | 1.1-alpha |
Component: | Back-end | Keywords: | |
Cc: | johnjacobyjames |
Description
I've see a bug in Bozo User plugin that when you go to Users ta in admin and filter jus' bozos and if there will be no bozo, the function on line 353 of plugin will crash and show this messege on top of screen:
Warning: array_intersect() [function.array-intersect]: Argument #1 is not an array in /Applications/XAMPP/xamppfiles/htdocs/bbP/bb-plugins/bozo.php on line 353
I hope this bug jus' be for me...
XAMPP with PHP vr5.3.1 and bbPress vr1.1
Attachments (2)
Change History (9)
#1
@
13 years ago
- Component changed from Administration to Back-end
- Keywords needs-patch reporter-feedback needs-testing removed
- Milestone changed from Awaiting Review to 1.2
#4
@
13 years ago
Line 353 typecasts the variable as an array, the rest just remove the trailing spaces from the lines.
#5
@
13 years ago
- Resolution set to worksforme
- Status changed from new to closed
Thank you! that bug is fixed now, but now I need a translate function on line 301
return sprintf( __('%1$s%2$s that are bozos'), $h2_search, $h2_role );
What had been changed in that diff?