[svn r11979] Fix a bug when we were only platform administrator. Task : http://projects.dokeos.com/?do=details&id=1414

skala
Julian Prud'homme 18 years ago
parent e69ed13be3
commit 0996c94c08
  1. 4
      main/mySpace/index.php

@ -120,6 +120,10 @@ if($isCoach)
}
if(api_is_platform_admin())
{
if(!$isCoach && $nb_teacher_courses==0)
{
$view = 'admin';
}
if($view=='admin')
{
$menu_items[] = get_lang('AdminInterface');

Loading…
Cancel
Save