Changeset 3823


Ignore:
Timestamp:
02/25/11 14:59:09 (13 years ago)
Author:
roberto.santosjunior
Message:

Ticket #1621 - Erro na visualização dos contatos telefone e email não listados

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/mobile/inc/class.ui_mobilecc.inc.php

    r3822 r3823  
    437437                                                                                        $var_phone .= ' | '; 
    438438                                                                                $var_phone .= $conn['connection_value']; 
     439                                                                        } 
     440 
     441                                                                        if ($conn['id_type'] == null){ 
     442                                                                                if ( $conn['type'] == 'email' ){ 
     443                                                                                        if ( !empty($var_email) ) 
     444                                                                                                $var_email .= ' | '; 
     445                                                                                        $var_email .= $conn['connection_value']; 
     446                                                                                         
     447                                                                                        if ( empty($email_to) ) 
     448                                                                                                $email_to = $var_email; 
     449                                                                                         
     450                                                                                }else if ($conn['type'] == 'phone'){ 
     451                                                                                        if ( !empty($var_phone)) 
     452                                                                                                $var_phone .= ' | '; 
     453                                                                                        $var_phone .= $conn['connection_value']; 
     454                                                                                } 
    439455                                                                        } 
    440456                                                                endforeach; 
     
    520536                                                                                        $var_phone .= $conn['connection_value']; 
    521537                                                                                } 
     538 
     539                                                                                if ($conn['id_type'] == null){ 
     540                                                                                        if ( $conn['type'] == 'email' ){ 
     541                                                                                                if ( !empty($var_email) ) 
     542                                                                                                        $var_email .= ' | '; 
     543                                                                                                $var_email .= $conn['connection_value']; 
     544                                                                                                 
     545                                                                                                if ( empty($email_to) ) 
     546                                                                                                        $email_to = $var_email; 
     547                                                                                                 
     548                                                                                        }else if ($conn['type'] == 'phone'){ 
     549                                                                                                if ( !empty($var_phone)) 
     550                                                                                                        $var_phone .= ' | '; 
     551                                                                                                $var_phone .= $conn['connection_value']; 
     552                                                                                        } 
     553                                                                                } 
    522554                                                                        endforeach; 
    523555                                                 
Note: See TracChangeset for help on using the changeset viewer.