From: skodak Date: Wed, 19 Sep 2007 15:44:31 +0000 (+0000) Subject: MDL-11354 ipaddress typo in mnet environment.php X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=3772df8dee607b7776a86adfacf3fa8ad598c660;p=moodle.git MDL-11354 ipaddress typo in mnet environment.php --- 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);