Browse Source

Fixing PHP warning

Julio Montoya 12 years ago
parent
commit
7b67758fa6
1 changed files with 2 additions and 0 deletions
  1. 2 0
      main/document/document.php

+ 2 - 0
main/document/document.php

@@ -35,6 +35,8 @@ $language_file = array('document', 'slideshow', 'gradebook', 'create_course');
 
 require_once '../inc/global.inc.php';
 
+$parent_id = null;
+
 $current_course_tool = TOOL_DOCUMENT;
 $this_section = SECTION_COURSES;