Skip to content

Commit

Permalink
Fix saving new learning path item -ref CT#8018
Browse files Browse the repository at this point in the history
  • Loading branch information
IbanGF committed Jan 5, 2016
1 parent 8baa4bb commit 6b15778
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/newscorm/learnpath.class.php
Expand Up @@ -5982,7 +5982,7 @@ public function create_document($courseInfo, $content = '', $title = '', $extens

$filename = $title;

$content = isset($content) ? $content : $_POST['content_lp'];
$content = !empty($content) ? $content : $_POST['content_lp'];

$tmp_filename = $filename;

Expand Down

0 comments on commit 6b15778

Please sign in to comment.