Browse Source

course list not displayed properly on home page #4599

Laurent Opprecht 13 years ago
parent
commit
ada1f107a2
2 changed files with 2 additions and 2 deletions
  1. 1 1
      index.php
  2. 1 1
      main/inc/lib/userportal.lib.php

+ 1 - 1
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();

+ 1 - 1
main/inc/lib/userportal.lib.php

@@ -397,7 +397,7 @@ class IndexManager {
 	 * @version 1.1
 	 * @author Patrick Cool <patrick.cool@UGent.be>, 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();