diff --git a/main/newscorm/openoffice_presentation.class.php b/main/newscorm/openoffice_presentation.class.php index ea168169aa..dcdc4345a7 100755 --- a/main/newscorm/openoffice_presentation.class.php +++ b/main/newscorm/openoffice_presentation.class.php @@ -25,7 +25,7 @@ class OpenofficePresentation extends OpenofficeDocument { public function __construct($take_slide_name=false, $course_code=null, $resource_id=null,$user_id=null) { $this -> take_slide_name = $take_slide_name; - parent::OpenofficeDocument($course_code, $resource_id, $user_id); + parent::__construct($course_code, $resource_id, $user_id); } diff --git a/main/newscorm/openoffice_text.class.php b/main/newscorm/openoffice_text.class.php index 7d29dc0734..8bf75e64d3 100755 --- a/main/newscorm/openoffice_text.class.php +++ b/main/newscorm/openoffice_text.class.php @@ -35,7 +35,7 @@ class OpenofficeText extends OpenofficeDocument { { $this -> split_steps = $split_steps; - parent::OpenofficeDocument($course_code, $resource_id, $user_id); + parent::__construct($course_code, $resource_id, $user_id); } diff --git a/main/newscorm/openoffice_text_document.class.php b/main/newscorm/openoffice_text_document.class.php index 4cb10a45ed..21f2fcc579 100755 --- a/main/newscorm/openoffice_text_document.class.php +++ b/main/newscorm/openoffice_text_document.class.php @@ -32,7 +32,7 @@ class OpenOfficeTextDocument extends OpenofficeDocument { public function __construct($split_steps=false, $course_code=null, $resource_id=null,$user_id=null) { $this -> split_steps = $split_steps; - parent::OpenofficeDocument($course_code, $resource_id, $user_id); + parent::__construct($course_code, $resource_id, $user_id); }