Skip to content

Commit

Permalink
Fix status update
Browse files Browse the repository at this point in the history
  • Loading branch information
kitan1982 committed Oct 13, 2015
1 parent f9b729b commit c6374fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Resources/views/scorm2004.html.twig
Expand Up @@ -26,7 +26,7 @@
successStatus == 'failed' or
successStatus == 'passed'
%}
{% if successStatus is not null %}
{% if successStatus is not null and (successStatus == 'failed' or successStatus == 'passed') %}
{% set status = successStatus %}
{% else %}
{% set status = completionStatus %}
Expand Down

0 comments on commit c6374fc

Please sign in to comment.