#19705602 getDocumentMenu method select column refactoring

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8334 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ovclas 2011-04-25 05:22:13 +00:00
parent adfb5af1d2
commit cc56a7b93b
2 changed files with 11 additions and 8 deletions

View file

@ -173,7 +173,7 @@
return $this->get('lang_code');
}
function getIpaddress() {
function getIpAddress() {
if($this->isGranted()) return $this->get('ipaddress');
return preg_replace('/([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)/','*.$2.$3.$4', $this->get('ipaddress'));