From 3772df8dee607b7776a86adfacf3fa8ad598c660 Mon Sep 17 00:00:00 2001 From: skodak <skodak> Date: Wed, 19 Sep 2007 15:44:31 +0000 Subject: [PATCH] MDL-11354 ipaddress typo in mnet environment.php --- mnet/environment.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mnet/environment.php b/mnet/environment.php index 4839e67cb7..ebdce1ba68 100644 --- a/mnet/environment.php +++ b/mnet/environment.php @@ -45,7 +45,7 @@ class mnet_environment { $this->ip_address = $_SERVER['SERVER_ADDR']; } - if ($existingrecord = get_record('mnet_host', 'ip_address', $this->ipaddress)) { + if ($existingrecord = get_record('mnet_host', 'ip_address', $this->ip_address)) { $this->id = $existingrecord->id; } else { // make a new one $this->id = insert_record('mnet_host', $this, true); -- 2.39.5