mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Fix incorrect display of postcode on document edit screen
This commit is contained in:
parent
1d8d685fc1
commit
e9daae400e
1 changed files with 1 additions and 1 deletions
2
modules/krzip/krzip.model.php
Executable file → Normal file
2
modules/krzip/krzip.model.php
Executable file → Normal file
|
|
@ -54,7 +54,7 @@ class krzipModel extends krzip
|
|||
$output = array('', trim(preg_replace('/\s+/', ' ', $values)), '', '', '');
|
||||
|
||||
/* 우편번호 */
|
||||
if(preg_match('/\(?([0-9]{3}-[0-9]{3})\)?/', $output[1], $matches))
|
||||
if(preg_match('/\(?([0-9]{3}-[0-9]{3}|^[0-9]{5})\)?/', $output[1], $matches))
|
||||
{
|
||||
$output[1] = trim(preg_replace('/\s+/', ' ', str_replace($matches[0], '', $output[1])));
|
||||
$output[0] = $matches[1];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue