Details
- 
    Type:Bug 
- 
    Status: Done/Fixed
- 
    Priority:Critical 
- 
    Resolution: Fixed/Completed
- 
    Affects Version/s: 1.5, 1.6
- 
    Fix Version/s: 1.6
- 
    Component/s: None
- 
    Labels:None
Description
bug reported on civicrm-dev list by Richard Yiu:
CiviCRM profile with the following fields:
First name
Middle name     Last name     Email address     Web site address    Address     Supplemental Address     City      State     Postal Code      Country        Custom textfield 1    Job title     Phone(work)        Phone(Fax)        Phone(Mobile )        Phone(Home )        Custom textfield 2
Custom textfield 3
Custom checkbox
All the custom fields are created under a new Custom Data Group in Custom Data. The profile has the following options enabled:
User Registration
View/Edit User Account
Profile
The problem that I am having it that when I go to my account in Drupal to edit my profile information, some of the fields are empty after the submission even I have entered information in all the fields. I have tried stock Drupal 4.7 with CiviCRM 1.5/1.6. Sometime I see the following line of error message but sometimes I don't. Does anyone has the same problem as well? If you have the problem and found a solution, please let know. Thanks
"warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in C:\Program Files\xampp\htdocs\drupal\modules\civicrm\CRM\Core\DAO.php on line 301."