Changeset 5699


Ignore:
Timestamp:
03/12/12 09:09:53 (12 years ago)
Author:
niltonneto
Message:

Ticket #2507 - Corrigido condição invertida do tipo de conexão para emails e telefones.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sandbox/webservice/api/json-rpc/Catalog.php

    r5694 r5699  
    2222                                $row = $this->getDb()->row(); 
    2323                                $id = $row['id_contact']; 
    24                                 $contactType = ($row['id_typeof_contact_connection'] == 1 ? 'contactPhones' : 'contactMails');                           
     24                                $contactType = ($row['id_typeof_contact_connection'] == 2 ? 'contactPhones' : 'contactMails');                           
    2525                                 
    2626                                if($contacts[$id] != null){ 
Note: See TracChangeset for help on using the changeset viewer.