Replace "OR" with "||" see BT#8897

1.10.x
Julio Montoya 10 years ago
parent b471555404
commit 5a70b89b8e
  1. 2
      main/newscorm/learnpathItem.class.php

@ -2605,7 +2605,7 @@ class learnpathItem
return $returnstatus;
} else {
$status = $items[$refs_list[$prereqs_string]]->get_status(false);
$returnstatus = $status == $this->possible_status[2] OR $status == $this->possible_status[3];
$returnstatus = $status == $this->possible_status[2] || $status == $this->possible_status[3];
if (!$returnstatus) {
if (self::debug > 1) {

Loading…
Cancel
Save