Skip to content

Commit 3451143

Browse files
committed
Minor - use api function instead of global value
1 parent b8d06c3 commit 3451143

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main/document/showinframes.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@
169169
$browser_display_title = 'Documents - '.Security::remove_XSS($_GET['cidReq']).' - '.$file;
170170
// Only admins get to see the "no frames" link in pageheader.php, so students get a header that's not so high
171171
$frameheight = 135;
172-
if ($is_courseAdmin) {
172+
if (api_is_course_admin()) {
173173
$frameheight = 165;
174174
}
175175

0 commit comments

Comments
 (0)