Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 5622 | Rev 5624 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 5622 Rev 5623
Línea 872... Línea 872...
872
            print_r($conversation[0]->sender_id);
872
            print_r($conversation[0]->sender_id);
873
            echo '</pre>';
873
            echo '</pre>';
Línea 874... Línea 874...
874
 
874
 
Línea 875... Línea 875...
875
            if ($conversation) {
875
            if ($conversation) {
Línea 876... Línea 876...
876
 
876
 
877
                if ($conversation->sender_id && $conversation->sender_id == $currentUser->id) {
877
                if ($conversation[0]->sender_id && $conversation[0]->sender_id == $currentUser->id) {
878
 
878
 
879
                    return new JsonModel($this->deleteConversation($conversation));
879
                    return new JsonModel($this->deleteConversation($conversation));
880
                } else if ($conversation->receiver_id && $conversation->receiver_id == $currentUser->id) {
880
                } else if ($conversation[0]->receiver_id && $conversation[0]->receiver_id == $currentUser->id) {
Línea 881... Línea 881...
881
                    return new JsonModel($this->deleteConversation($conversation));
881
                    return new JsonModel($this->deleteConversation($conversation));