Ignore:
Timestamp:
03/13/12 18:23:02 (12 years ago)
Author:
natan
Message:

Ticket #2434 - Implementacao da repeticao de eventos na agenda e adicao de suporte a relacionamentos 1x1 na API

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/prototype/Sync.php

    r5514 r5715  
    6464                    if( isset( $dt[$linkName] ) ) 
    6565                    { 
    66                             if( $notArray = Controller::isConcept( $concept, $linkName ) ) 
     66                            if( $notArray = Controller::hasOne( $concept, $linkName ) ) 
    6767                                    $dt[$linkName] = array( $dt[$linkName] ); 
    6868 
     
    148148 
    149149                  $return[ $oldURI ] = !$tx['rollback'] ? $dt ?  
    150                                        array( 'id' => $tx['id'] ) : false : 'ROLLBACK';; 
     150                                       array( 'id' => $tx['id'] ) : false : 'ROLLBACK'; 
    151151          } 
    152152    } 
Note: See TracChangeset for help on using the changeset viewer.