Minor - fixing php notice

skala
Julio Montoya 12 years ago
parent cae3b1e818
commit 66a650d563
  1. 2
      main/document/show_content.php

@ -17,7 +17,7 @@ require_once '../inc/global.inc.php';
api_protect_course_script();
$noPHP_SELF = true;
$header_file = Security::remove_XSS($_GET['file']);
$header_file = isset($_GET['file']) ? Security::remove_XSS($_GET['file']) : null;
$document_id = intval($_GET['id']);
$course_info = api_get_course_info();

Loading…
Cancel
Save