Minor - avoid notice

skala
Julio Montoya 14 years ago
parent 8fb8b9e810
commit 4e05814667
  1. 4
      main/admin/settings.php

@ -13,9 +13,9 @@
/* INIT SECTION */
// Language files that need to be included.
if ($_GET['category'] == 'Templates') {
if (isset($_GET['category']) && $_GET['category'] == 'Templates') {
$language_file = array('admin', 'document');
} else if($_GET['category'] == 'Gradebook') {
} else if(isset($_GET['category']) && $_GET['category'] == 'Gradebook') {
$language_file = array('admin', 'gradebook');
} else {
$language_file = 'admin';

Loading…
Cancel
Save