From 1aeb040829d84ef3ba11eb6003493c3ef1354659 Mon Sep 17 00:00:00 2001 From: Angel Fernando Quiroz Campos Date: Tue, 21 Jul 2015 15:44:50 -0500 Subject: [PATCH] Fix calculate gamification stars - refs BT#10092 #TMI --- main/newscorm/learnpath.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/newscorm/learnpath.class.php b/main/newscorm/learnpath.class.php index 4ffae436f1..65ac622946 100755 --- a/main/newscorm/learnpath.class.php +++ b/main/newscorm/learnpath.class.php @@ -10242,7 +10242,7 @@ EOD; // Calculate star for final evaluation $finalEvaluationItem = $this->getFinalEvaluationItem(); - if (empty($finalEvaluationItem === false)) { + if (empty($finalEvaluationItem)) { return $stars; }