Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 11417 Rev 11419
Línea 187... Línea 187...
187
                $comment->comment = $dataPost['comment'];
187
                $comment->comment = $dataPost['comment'];
188
                $comment->feed_id = $feed->id;
188
                $comment->feed_id = $feed->id;
Línea 189... Línea 189...
189
                
189
                
190
                if($feed->type=='hptg'){
190
                if($feed->type=='hptg'){
191
                    $comment->user_id = $currentUser->id;
-
 
-
 
191
                    $comment->user_id = $currentUser->id;
-
 
192
                }
-
 
193
                if($feed->type=='mytq'){
-
 
194
                    $comment->user_id = $currentUser->id;
192
 
195
                }
193
                }else{
196
                else{
194
                    $comment->user_id = $owner->user_id;
-
 
195
 
197
                    $comment->user_id = $owner->user_id;
Línea 196... Línea 198...
196
                }
198
                }
197
                
199