mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-20 11:49:56 +09:00
Issue 2354 merge to 1.5.3.2
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.3.2@11280 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
e8643457f9
commit
f15ea2f764
2 changed files with 5 additions and 5 deletions
|
|
@ -140,7 +140,7 @@
|
|||
$ipaddress_list = str_replace("\r","",$ipaddress_list);
|
||||
$ipaddress_list = explode("\n",$ipaddress_list);
|
||||
foreach($ipaddress_list as $ipaddressValue) {
|
||||
preg_match("/(\d{1,3}(?:.(\d{1,3}|\*)){3})\s*(\/\/\s*(.*))?/",$ipaddressValue,$matches);
|
||||
preg_match("/(\d{1,3}(?:.(\d{1,3}|\*)){3})\s*(\/\/(.*)\s*)?/",$ipaddressValue,$matches);
|
||||
if($ipaddress=trim($matches[1])) {
|
||||
$args->ipaddress = $ipaddress;
|
||||
if(!$description && $matches[4]) $args->description = $matches[4];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue