[svn r12951] Fixed newbie error introduced when added hotpotatoes integration and preventing score record

skala
Yannick Warnier 17 years ago
parent 72cd0a7795
commit e966fb2b5c
  1. 2
      main/newscorm/learnpathItem.class.php

@ -1728,7 +1728,7 @@ class learnpathItem{
$this->db_item_view_id = Database::get_last_insert_id();
}else{
$sql = '';
if($this->type='hotpotatoes')
if($this->type=='hotpotatoes')
{ //make an exception for HotPotatoes, don't update the score
//because it has been saved outside of this tool
$sql = "UPDATE $item_view_table " .

Loading…
Cancel
Save