Changeset 2895 for trunk/contactcenter


Ignore:
Timestamp:
06/02/10 11:09:44 (14 years ago)
Author:
amuller
Message:

Ticket #820 - Remoção %%20 das strings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/contactcenter/inc/class.ui_data.inc.php

    r2893 r2895  
    23712371                                switch($field) 
    23722372                                { 
     2373                                        case 'names_ordered':  
     2374                                                $data[$field] = urldecode($value);  
    23732375                                        case 'alias': 
    23742376                                        case 'given_names': 
    23752377                                        case 'family_names': 
    2376                                         case 'names_ordered': 
    23772378                                        case 'pgp_key': 
    23782379                                        case 'notes': 
    23792380                                        case 'photo': 
    2380                                                 $data[$field] = urldecode( $value ); 
     2381                                                $data[$field] = urldecode( $data[$field] ); 
    23812382                                                break; 
    23822383 
     
    24532454                                                                if ($value['new_cities'][$type]) 
    24542455                                                                { 
    2455                                                                         $value['new_cities'][$type]['id_state'] = $id_state; 
     2456                                                                        $data[$field]['new_cities'][$type]['id_state'] = $id_state; 
    24562457                                                                } 
    24572458                                                        } 
     
    24882489                        } 
    24892490 
    2490                         $code = '$id = $this->bo->catalog->'; 
    2491  
    24922491                        if (!is_null($id) and $id !== '') 
    24932492                        { 
    2494                                 $code .= $code.'update_single_info($id, $data);'; 
     2493                                $id = $this->bo->catalog->update_single_info($id, $data);  
    24952494                                $result = array( 
    24962495                                        'msg' => lang('Updated Successfully!'), 
     
    25002499                        else 
    25012500                        { 
    2502                                 $code .= 'add_single_entry($data,'.$owner.');'; 
     2501                                $id = $this->bo->catalog->add_single_entry($data,$owner); 
    25032502                                $result = array( 
    25042503                                        'msg' => lang('Entry Added Successfully!'), 
     
    25062505                                ); 
    25072506                        } 
    2508  
    2509                         eval($code); 
    25102507 
    25112508                        if (!($id)) 
Note: See TracChangeset for help on using the changeset viewer.