Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 9050 Rev 9064
Línea 1129... Línea 1129...
1129
            $comment['number_answers']=$contador;
1129
            $comment['number_answers']=$contador;
1130
            $comment['answers'] = $answers;
1130
            $comment['answers'] = $answers;
1131
            array_push($comments, $comment);
1131
            array_push($comments, $comment);
1132
        }
1132
        }
1133
        $item['comment_add_url'] = $this->url()->fromRoute('feeds/comments', ['id' => $feed->uuid]);
1133
        $item['comment_add_url'] = $this->url()->fromRoute('feeds/comments', ['id' => $feed->uuid]);
-
 
1134
        if(count($comments)>0){
1134
        $item['comments'] = $comments;
1135
            $item['comments'] = $comments;
-
 
1136
        }
-
 
1137
        
Línea 1135... Línea 1138...
1135
        
1138
        
1136
        return $item;
1139
        return $item;
Línea 1137... Línea 1140...
1137
    }
1140
    }