Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 7094 Rev 7108
Línea 1118... Línea 1118...
1118
                ContentReaction::REACTION_LOVE,
1118
                ContentReaction::REACTION_LOVE,
1119
                ContentReaction::REACTION_INTEREST,
1119
                ContentReaction::REACTION_INTEREST,
1120
                ContentReaction::REACTION_FUN
1120
                ContentReaction::REACTION_FUN
Línea 1121... Línea 1121...
1121
                
1121
                
1122
            ];
1122
            ];
1123
            if(in_array($reaction, $reactions)) {
1123
            if(!in_array($reaction, $reactions)) {
1124
                $response = [
1124
                $response = [
1125
                    'success' => false,
1125
                    'success' => false,
1126
                    'data' => 'ERROR_REACTION_NOT_FOUND'
1126
                    'data' => 'ERROR_REACTION_NOT_FOUND'
1127
                ];
1127
                ];