Bug #516
Warning with custom profile field
| Status: | Closed | Start date: | 11/03/2009 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | Tom Moore | % Done: | 100% |
|
| Category: | Profile | |||
| Target version: | 1.4.10 | |||
| Reproducibility: | Always | Database Type: | ||
| Reported In MyBB Version: | 1.6.0 | Database Version: | ||
| PHP Version: | 5.3.0 | SQA assignments: | ||
| Browser: |
Description
If you have a custom profile field using checkboxes you get this warning after submitting changes in your User CP.
The following warnings occurred: Warning [2] trim() expects parameter 1 to be string, array given - Line: 467 - File: C:\wamp\www\mybb\inc\datahandlers\user.php PHP 5.3.0 (WINNT)File Line Function [PHP] errorHandler->error C:\wamp\www\mybb\inc\datahandlers\user.php 467 trim C:\wamp\www\mybb\inc\datahandlers\user.php 870 UserDataHandler->verify_profile_fields C:\wamp\www\mybb\usercp.php 251 UserDataHandler->validate_user
Associated revisions
Fixes Warning with custom profile field (fixes: 516)
History
Updated by Stefan T. over 2 years ago
- Status changed from New to Confirmed
Updated by Tom Moore about 2 years ago
- Status changed from Confirmed to Resolved
- % Done changed from 0 to 100
Applied in changeset r4504.
Updated by Ryan Gordon about 2 years ago
- Assignee set to Tom Moore
- Target version set to 1.4.10
Updated by Michael Schlechtinger about 2 years ago
- Status changed from Resolved to Closed