From 2ea4adde796a99268cefa9f768e2f2db5ce1df8e Mon Sep 17 00:00:00 2001 From: Eric Marguin Date: Wed, 14 May 2008 15:53:34 +0200 Subject: [PATCH] [svn r15289] woogie : the steps were not listed in documents because of a // in document path (FS#2533) --- main/newscorm/openoffice_text_document.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/newscorm/openoffice_text_document.class.php b/main/newscorm/openoffice_text_document.class.php index 284692207b..4125814ecd 100644 --- a/main/newscorm/openoffice_text_document.class.php +++ b/main/newscorm/openoffice_text_document.class.php @@ -198,7 +198,7 @@ class OpenOfficeTextDocument extends OpenofficeDocument { fwrite($handle, $page_content); fclose($handle); - $document_id = add_document($_course,$this->created_dir.'/'.$html_file,'file',filesize($this->base_work_dir.$this->created_dir.'/'.$html_file),$html_file); + $document_id = add_document($_course,$this->created_dir.$html_file,'file',filesize($this->base_work_dir.$this->created_dir.$html_file),$html_file); if ($document_id){