Changeset 4076
- Timestamp:
- 04/19/11 15:46:32 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/contactcenter/inc/class.ui_data.inc.php
r3795 r4076 4176 4176 $sdata['addresses']['address_personal']['id_city'] = trim($row[$header[$city_pos]]); 4177 4177 4178 $array_birth = explode("/",$birth); 4179 4180 $sdata['birthdate'] = date('Y-m-d', mktime(0,0,0,$array_birth[1],$array_birth[0],$array_birth[2])); 4178 if(trim($birth)) { 4179 $array_birth = explode("/",trim($birth)); 4180 $sdata['birthdate'] = date('Y-m-d', mktime(0,0,0,$array_birth[1],$array_birth[0],$array_birth[2])); 4181 } 4181 4182 4182 4183 $sdata['notes'] = addslashes($notes);
Note: See TracChangeset
for help on using the changeset viewer.