From 5a70b89b8e8c357013cabaab11421cce7d2b5a48 Mon Sep 17 00:00:00 2001 From: Julio Montoya Date: Fri, 27 Mar 2015 10:13:16 +0100 Subject: [PATCH] Replace "OR" with "||" see BT#8897 --- main/newscorm/learnpathItem.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/newscorm/learnpathItem.class.php b/main/newscorm/learnpathItem.class.php index d108b435af..b9294b2ae7 100755 --- a/main/newscorm/learnpathItem.class.php +++ b/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) {