MDL-12093 :: changed function call from get_in_popup to is_in_popup.
This commit is contained in:
@@ -3,8 +3,8 @@
|
||||
<!-- START OF FOOTER -->
|
||||
<?php
|
||||
global $CFG, $COURSE;
|
||||
if (function_exists('get_in_popup')) {
|
||||
$inpopup = get_in_popup();
|
||||
if (function_exists('is_in_popup')) {
|
||||
$inpopup = is_in_popup();
|
||||
} else {
|
||||
$inpopup = false;
|
||||
}
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
|
||||
global $PAGE;
|
||||
|
||||
if (function_exists('get_in_popup')) {
|
||||
$inpopup = get_in_popup();
|
||||
if (function_exists('is_in_popup')) {
|
||||
$inpopup = is_in_popup();
|
||||
} else {
|
||||
$inpopup = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user