Fixing mistyped cfg var. Backported from HEAD. MDL-13894

This commit is contained in:
stronk7
2008-09-18 14:13:40 +00:00
parent 90ada2fc85
commit fe4550bbdf
+1 -1
View File
@@ -7488,7 +7488,7 @@ function unzip_show_status ($list,$removepath) {
function getremoteaddr() {
global $CFG;
switch ($CFG->getremoteaddr) {
switch ($CFG->getremoteaddrconf)) {
case 3:
if (!empty($_SERVER['REMOTE_ADDR'])) {
return cleanremoteaddr($_SERVER['REMOTE_ADDR']);