| Línea 412... |
Línea 412... |
| 412 |
$feed = new Feed();
|
412 |
$feed = new Feed();
|
| 413 |
$hydrator->hydrate($dataPost, $feed);
|
413 |
$hydrator->hydrate($dataPost, $feed);
|
| 414 |
if($feed->type=='hptg'){
|
414 |
if($feed->type=='hptg'){
|
| Línea 415... |
Línea 415... |
| 415 |
|
415 |
|
| 416 |
$group_id = $this->params()->fromRoute('group_id');
|
- |
|
| 417 |
$topic_uuid = $this->params()->fromRoute('topic_id');
|
416 |
$group_id = $this->params()->fromRoute('group_id');
|
| 418 |
$highPerformanceTeamsGroupsMapper = HighPerformanceTeamsGroupsMapper::getInstance($this->adapter);
|
417 |
$highPerformanceTeamsGroupsMapper = HighPerformanceTeamsGroupsMapper::getInstance($this->adapter);
|
| Línea 419... |
Línea 418... |
| 419 |
$highPerformanceTeamsGroups = $highPerformanceTeamsGroupsMapper->fetchOneByUuid($group_id);
|
418 |
$highPerformanceTeamsGroups = $highPerformanceTeamsGroupsMapper->fetchOneByUuid($group_id);
|
| 420 |
|
419 |
|
| Línea 455... |
Línea 454... |
| 455 |
'success' => false,
|
454 |
'success' => false,
|
| 456 |
'data' => 'ERROR_RECORD_NOT_FOUND'
|
455 |
'data' => 'ERROR_RECORD_NOT_FOUND'
|
| 457 |
]);
|
456 |
]);
|
| 458 |
}
|
457 |
}
|
| Línea 459... |
Línea 458... |
| 459 |
|
458 |
|
| 460 |
if(isset($topic_uuid)){
|
459 |
if(isset($dataPost['high_performance_group_topic_id'])){
|
| 461 |
$highPerformanceTeamsGroupsViewTopicMapper = HighPerformanceTeamsGroupsViewTopicMapper::getInstance($this->adapter);
|
460 |
$highPerformanceTeamsGroupsViewTopicMapper = HighPerformanceTeamsGroupsViewTopicMapper::getInstance($this->adapter);
|
| 462 |
$highPerformanceTeamsGroupsViewTopic = $highPerformanceTeamsGroupsViewTopicMapper->fetchOneByUuid($topic_uuid);
|
461 |
$highPerformanceTeamsGroupsViewTopic = $highPerformanceTeamsGroupsViewTopicMapper->fetchOneByUuid($dataPost['high_performance_group_topic_id']);
|
| 463 |
if($highPerformanceTeamsGroupsViewTopic){
|
462 |
if($highPerformanceTeamsGroupsViewTopic){
|
| 464 |
$feed->high_performance_group_topic_id = $highPerformanceTeamsGroupsViewTopic->id;
|
463 |
$feed->high_performance_group_topic_id = $highPerformanceTeamsGroupsViewTopic->id;
|
| 465 |
}else{
|
464 |
}else{
|
| 466 |
return new JsonModel([
|
465 |
return new JsonModel([
|