From c62a6d596d4f669a0a68a9ff08fc0e167fc5ae2d Mon Sep 17 00:00:00 2001 From: Yannick Warnier Date: Fri, 25 Apr 2008 00:47:26 +0200 Subject: [PATCH] [svn r15074] Minor - avoid notice --- index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.php b/index.php index fe9bf058a4..e30a2ec420 100644 --- a/index.php +++ b/index.php @@ -20,7 +20,7 @@ /** * @package dokeos.main * @author Patrick Cool , Ghent University, Refactoring -* @version $Id: index.php 14958 2008-04-20 18:17:02Z yannoo $ +* @version $Id: index.php 15074 2008-04-24 22:47:26Z yannoo $ * @todo check the different @todos in this page and really do them * @todo check if the news management works as expected */ @@ -54,7 +54,7 @@ include_once (api_get_path(LIBRARY_PATH).'groupmanager.lib.php'); include_once (api_get_path(LIBRARY_PATH).'formvalidator/FormValidator.class.php'); $loginFailed = isset($_GET['loginFailed']) ? true : isset($loginFailed); -$setting_show_also_closed_courses = (api_get_setting(show_closed_courses)=='true') ? true : false; +$setting_show_also_closed_courses = (api_get_setting('show_closed_courses')=='true') ? true : false; // the section (for the tabs) $this_section = SECTION_CAMPUS;