@@ 84-90 (lines=7) @@ | ||
81 | ||
82 | // remove whitespace |
|
83 | $checkInfos = array('user_id', 'user_name', 'nick_name', 'email_address'); |
|
84 | foreach($checkInfos as $val) |
|
85 | { |
|
86 | if(isset($args->{$val})) |
|
87 | { |
|
88 | $args->{$val} = preg_replace('/[\pZ\pC]+/u', '', $args->{$val}); |
|
89 | } |
|
90 | } |
|
91 | ||
92 | $oMemberController = getController('member'); |
|
93 | // Execute insert or update depending on the value of member_srl |
@@ 379-385 (lines=7) @@ | ||
376 | ||
377 | // remove whitespace |
|
378 | $checkInfos = array('user_id', 'user_name', 'nick_name', 'email_address'); |
|
379 | foreach($checkInfos as $val) |
|
380 | { |
|
381 | if(isset($args->{$val})) |
|
382 | { |
|
383 | $args->{$val} = preg_replace('/[\pZ\pC]+/u', '', $args->{$val}); |
|
384 | } |
|
385 | } |
|
386 | $output = $this->insertMember($args); |
|
387 | if(!$output->toBool()) return $output; |
|
388 | ||
@@ 596-602 (lines=7) @@ | ||
593 | ||
594 | // remove whitespace |
|
595 | $checkInfos = array('user_id', 'user_name', 'nick_name', 'email_address'); |
|
596 | foreach($checkInfos as $val) |
|
597 | { |
|
598 | if(isset($args->{$val})) |
|
599 | { |
|
600 | $args->{$val} = preg_replace('/[\pZ\pC]+/u', '', $args->{$val}); |
|
601 | } |
|
602 | } |
|
603 | ||
604 | // Execute insert or update depending on the value of member_srl |
|
605 | $output = $this->updateMember($args); |