Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 7107 Rev 7108
Línea 888... Línea 888...
888
                ContentReaction::REACTION_LOVE,
888
                ContentReaction::REACTION_LOVE,
889
                ContentReaction::REACTION_INTEREST,
889
                ContentReaction::REACTION_INTEREST,
890
                ContentReaction::REACTION_FUN
890
                ContentReaction::REACTION_FUN
Línea 891... Línea 891...
891
                
891
                
892
            ];
892
            ];
893
            if(in_array($reaction, $reactions)) {
893
            if(!in_array($reaction, $reactions)) {
894
                $response = [
894
                $response = [
895
                    'success' => false,
895
                    'success' => false,
896
                    'data' => 'ERROR_REACTION_NOT_FOUND'
896
                    'data' => 'ERROR_REACTION_NOT_FOUND'
897
                ];
897
                ];