diff --git a/main/inc/course_document.inc.php b/main/inc/course_document.inc.php index 0e4535ffab..9f0e563047 100644 --- a/main/inc/course_document.inc.php +++ b/main/inc/course_document.inc.php @@ -315,11 +315,11 @@ function OpenFile( fileUrl, type ) ret = confirm(''); if(ret==true) { - GetE('autostart').checked = 'true'; + GetE('autostart').checked = true; } else { - GetE('autostart').checked = 'false'; + GetE('autostart').checked = false; } } SetUrl( fileUrl ) ;