Changeset 1411


Ignore:
Timestamp:
09/15/09 10:00:47 (15 years ago)
Author:
rodsouza
Message:

Ticket #611 - Caracteres especiais codificados.

Location:
trunk/contactcenter
Files:
2 edited

Legend:

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

    r1408 r1411  
    12061206                                        if ($index !== 'error'){ 
    12071207                                                $final[3][$i][0] = $contact['companies']['company1']['company_name']?$contact['companies']['company1']['company_name']:'none'; 
    1208                                                 $final[3][$i][1] = $contact['names_ordered'] ? $contact['names_ordered'] : 'none'; 
    1209                                                 $final[3][$i][2] = $contact['companies']['company1']['title']?$contact['companies']['company1']['title']:'none'; 
     1208                                                $final[3][$i][1] = $contact['names_ordered'] ? urldecode( $contact['names_ordered'] ) : 'none'; 
     1209                                                $final[3][$i][2] = $contact['companies']['company1']['title']? urldecode( $contact['companies']['company1']['title'] ) :'none'; 
    12101210 
    12111211                                                /* Select the correct Email and Telephone to be shown */ 
     
    12551255                                                } 
    12561256 
    1257                                                 $final[3][$i][5] = $contact['alias']?$contact['alias']:'none'; 
     1257                                                $final[3][$i][5] = $contact['alias']? urldecode( $contact['alias'] ):'none'; 
    12581258                                                $final[3][$i][6] = $ids[$i]; 
    12591259 
     
    18301830 
    18311831                        /* Verify Data and performs insertion/update */ 
    1832                         foreach($data as $field => $value) 
     1832                        foreach($data as $field => &$value) 
    18331833                        { 
    18341834                                if ($value == '' or is_null($value)) 
     
    18471847                                        case 'notes': 
    18481848                                        case 'photo': 
     1849                                                $value = urldecode( $value ); 
    18491850                                                /* Do Nothing. This is just to make sure no invalid field is passed */ 
    18501851                                                break; 
  • trunk/contactcenter/js/ccAux.js

    r1393 r1411  
    354354function replaceComAnd(str, replacer) 
    355355{ 
     356        return escape( str ); 
    356357        var oldPos = 0; 
    357358        var pos = 0; 
Note: See TracChangeset for help on using the changeset viewer.