Browse Source

[svn r17049] Hide debug icon for learning paths when not platform admin or test server mode (see FS#3281) by cvargas

Yannick Warnier 16 years ago
parent
commit
62cdc96b7b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      main/newscorm/lp_list.php

+ 1 - 1
main/newscorm/lp_list.php

@@ -343,7 +343,7 @@ if (is_array($flat_list))
 			}else{
 				$dsp_build = '<img src="../img/wizard_gray.gif" border="0" title="'.get_lang("Build").'">&nbsp;';
 			}
-			if($test_mode == 'test' or api_is_course_admin())
+			if($test_mode == 'test' or api_is_platform_admin())
 			{
 				if($details['lp_scorm_debug']==1){
 					$dsp_debug = '<a href="lp_controller.php?'.api_get_cidreq().'&action=switch_scorm_debug&lp_id='.$id.'">' .