Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 7095 Rev 7108
Línea 497... Línea 497...
497
                ContentReaction::REACTION_LOVE, 
497
                ContentReaction::REACTION_LOVE, 
498
                ContentReaction::REACTION_INTEREST, 
498
                ContentReaction::REACTION_INTEREST, 
499
                ContentReaction::REACTION_FUN
499
                ContentReaction::REACTION_FUN
Línea 500... Línea 500...
500
                
500
                
501
            ];
501
            ];
502
            if(in_array($reaction, $reactions)) {
502
            if(!in_array($reaction, $reactions)) {
503
                $response = [
503
                $response = [
504
                    'success' => false,
504
                    'success' => false,
505
                    'data' => 'ERROR_REACTION_NOT_FOUND'
505
                    'data' => 'ERROR_REACTION_NOT_FOUND'
506
                ];
506
                ];