Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 5993 Rev 5996
Línea 455... Línea 455...
455
                $topic->marketplace = null;
455
                $topic->marketplace = null;
Línea 456... Línea 456...
456
 
456
 
457
                if($topicMapper->update($topic)) {
457
                if($topicMapper->update($topic)) {
458
                    $topic = $topicMapper->fetchOne($topic->id);
458
                    $topic = $topicMapper->fetchOne($topic->id);
459
                    $fileBase64Content = $this->params()->fromPost('file');
-
 
460
 
459
                    $fileBase64Content = $this->params()->fromPost('file');
Línea 461... Línea 460...
461
                    try {
460
                    try {
462
                       
461
                       
463
                        $fileBase64Content = base64_decode($fileBase64Content);
462
                        $fileBase64Content = base64_decode($fileBase64Content);
Línea 483... Línea 482...
483
                   
482
                   
Línea 484... Línea 483...
484
                    $this->logger->info('Se agrego el tópico ' . $topic->name, ['user_id' => $currentUser->id, 'ip' => Functions::getUserIP()]);
483
                    $this->logger->info('Se agrego el tópico ' . $topic->name, ['user_id' => $currentUser->id, 'ip' => Functions::getUserIP()]);
485
                    
484
                    
486
                    $data = [
485
                    $data = [
487
                        'success'   => true,
486
                        'success'   => true,
488
                        'data'   => 'LABEL_RECORD_ADDED'
487
                        'data'   => 'LABEL_RECORD_UPDATED'
489
                    ];
488
                    ];