]> dev.renevier.net Git - syj.git/blobdiff - application/controllers/PathController.php
revert a86eeac0ab678ea55307e1386c5f955f77d8ff73
[syj.git] / application / controllers / PathController.php
index 48a22befd43930ef1d0f6a8036e28524c1ea347d..bb969e82c8ed6b15888a6cf9de01adc0510c7a4e 100644 (file)
@@ -13,7 +13,7 @@ class PathController extends Zend_Controller_Action
             throw new Syj_Exception_Request();
         }
         $path->creator = $user;
-        $path->creatorIp = trim(end(split(',', $this->getRequest()->getClientIp(true))));
+        $path->creatorIp = $this->getRequest()->getClientIp(true);
 
         $this->save($path, $formData);
         $data = array('redirect' => "idx/" . (string)$path->id);