Pman/Login.php
authoredward <edward@roojs.com>
Thu, 11 Jan 2018 03:21:13 +0000 (11:21 +0800)
committeredward <edward@roojs.com>
Thu, 11 Jan 2018 03:21:13 +0000 (11:21 +0800)
Pman/Login.php

index 2877280..2ccfdc1 100644 (file)
@@ -465,7 +465,7 @@ class Pman_Login extends Pman
         $ip = $this->ip_lookup();
         
         if(empty($ip)){
-            $this->jerr('BAD-IP-ADDRESS');
+            $this->jerr('BAD-IP-ADDRESS', array('ip' => $ip));
         }
         
         $core_ip_access = DB_DataObject::factory('core_ip_access');