diff --git a/main/inc/lib/exercise.lib.php b/main/inc/lib/exercise.lib.php index 7fc34ee89f..d56b3408c4 100644 --- a/main/inc/lib/exercise.lib.php +++ b/main/inc/lib/exercise.lib.php @@ -4556,8 +4556,6 @@ EOT; */ public static function getFeedbackText($message) { - // Old style - //return '
'.$message.'
'; return Display::return_message($message, 'warning', false); } diff --git a/main/lp/learnpath.class.php b/main/lp/learnpath.class.php index eac0673a6a..0b5157da19 100755 --- a/main/lp/learnpath.class.php +++ b/main/lp/learnpath.class.php @@ -1830,7 +1830,10 @@ class learnpath //&& !$this->items[$this->last_item_seen]->is_done() ) { if ($this->debug > 2) { - error_log('In learnpath::first() - Last item seen is '.$this->last_item_seen.' of type '.$this->items[$this->last_item_seen]->get_type(), 0); + error_log( + 'In learnpath::first() - Last item seen is '.$this->last_item_seen.' of type '. + $this->items[$this->last_item_seen]->get_type() + ); } $index = -1; foreach ($this->ordered_items as $myindex => $item_id) {