We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8d06c3 commit 3451143Copy full SHA for 3451143
main/document/showinframes.php
@@ -169,7 +169,7 @@
169
$browser_display_title = 'Documents - '.Security::remove_XSS($_GET['cidReq']).' - '.$file;
170
// Only admins get to see the "no frames" link in pageheader.php, so students get a header that's not so high
171
$frameheight = 135;
172
-if ($is_courseAdmin) {
+if (api_is_course_admin()) {
173
$frameheight = 165;
174
}
175
0 commit comments