From ada1f107a237bfc7572088da9f4b207bb6703915 Mon Sep 17 00:00:00 2001 From: Laurent Opprecht Date: Thu, 12 Apr 2012 11:32:07 +0200 Subject: [PATCH] course list not displayed properly on home page #4599 --- index.php | 2 +- main/inc/lib/userportal.lib.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/index.php b/index.php index 3c39a1c63c..72c46bbc49 100644 --- a/index.php +++ b/index.php @@ -123,7 +123,7 @@ if (!empty($_POST['submitAuth'])) { } if (api_get_setting('display_categories_on_homepage') == 'true') { - $controller->tpl->assign('content', $controller->display_anonymous_course_list()); + $controller->tpl->assign('content', $controller->return_anonymous_course_list()); } $controller->set_login_form(); diff --git a/main/inc/lib/userportal.lib.php b/main/inc/lib/userportal.lib.php index 23c0015c94..579e2044e8 100644 --- a/main/inc/lib/userportal.lib.php +++ b/main/inc/lib/userportal.lib.php @@ -397,7 +397,7 @@ class IndexManager { * @version 1.1 * @author Patrick Cool , Ghent University - refactoring and code cleaning */ - function display_anonymous_course_list() { + function return_anonymous_course_list() { $result = ''; $ctok = $_SESSION['sec_token']; $stok = Security::get_token();