Merge branch 'MDL-69562_master' of https://github.com/dvdcastro/moodle
This commit is contained in:
+1
-1
@@ -9333,7 +9333,7 @@ function remoteip_in_list($list) {
|
||||
function getremoteaddr($default='0.0.0.0') {
|
||||
global $CFG;
|
||||
|
||||
if (empty($CFG->getremoteaddrconf)) {
|
||||
if (!isset($CFG->getremoteaddrconf)) {
|
||||
// This will happen, for example, before just after the upgrade, as the
|
||||
// user is redirected to the admin screen.
|
||||
$variablestoskip = GETREMOTEADDR_SKIP_DEFAULT;
|
||||
|
||||
Reference in New Issue
Block a user