diff --git a/main/newscorm/aiccBlock.class.php b/main/newscorm/aiccBlock.class.php index d5de506c37..a35fe6102f 100755 --- a/main/newscorm/aiccBlock.class.php +++ b/main/newscorm/aiccBlock.class.php @@ -39,7 +39,7 @@ class aiccBlock extends learnpathItem break; case 'member': if (strstr($value, ',') !== false) { - $temp = split(',', $value); + $temp = explode(',', $value); foreach ($temp as $val) { if (!empty($val)) { $this->members[] = $val; diff --git a/main/newscorm/aiccObjective.class.php b/main/newscorm/aiccObjective.class.php index 5d906a0ad0..b8a7c58865 100755 --- a/main/newscorm/aiccObjective.class.php +++ b/main/newscorm/aiccObjective.class.php @@ -38,7 +38,7 @@ class aiccObjective extends learnpathItem break; case 'member': if (strstr($value, ',') !== false) { - $temp = split(',', $value); + $temp = explode(',', $value); foreach ($temp as $val) { if (!empty($val)) { $this->members[] = $val; diff --git a/main/newscorm/resourcelinker.inc.php b/main/newscorm/resourcelinker.inc.php index a77b620924..be0c4b972b 100755 --- a/main/newscorm/resourcelinker.inc.php +++ b/main/newscorm/resourcelinker.inc.php @@ -402,7 +402,7 @@ function display_addedresource_link_in_learnpath($type, $id, $completed, $id_in_ echo str_repeat(" >", $level); // The title and the text are in the content field and we only want to display the title. - list($title, $text) = split('
', $myrow['content']); + list($title, $text) = explode('
', $myrow['content']); if ($title == '') { $title = $myrow['content']; } $title = $myrow['title']; $text = $myrow['content']; diff --git a/main/newscorm/scorm.class.php b/main/newscorm/scorm.class.php index 46f2dd8f74..34b842e013 100755 --- a/main/newscorm/scorm.class.php +++ b/main/newscorm/scorm.class.php @@ -806,7 +806,7 @@ class scorm extends learnpath $result = Database::query($sql); $row = Database::fetch_array($result); $LPname = $row['path']; - $list = split('/', $LPname); + $list = explode('/', $LPname); $LPnamesafe = $list[0]; //$zipfoldername = '/tmp'; //$zipfoldername = '../../courses/'.$_course['directory'].'/temp/'.$LPnamesafe;