@@ 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', '', html_entity_decode($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', '', html_entity_decode($args->{$val})); |
|
601 | } |
|
602 | } |
|
603 | ||
604 | // Execute insert or update depending on the value of member_srl |
|
605 | $output = $this->updateMember($args); |
@@ 87-93 (lines=7) @@ | ||
84 | ||
85 | // remove whitespace |
|
86 | $checkInfos = array('user_id', 'user_name', 'nick_name', 'email_address'); |
|
87 | foreach($checkInfos as $val) |
|
88 | { |
|
89 | if(isset($args->{$val})) |
|
90 | { |
|
91 | $args->{$val} = preg_replace('/[\pZ\pC]+/u', '', html_entity_decode($args->{$val})); |
|
92 | } |
|
93 | } |
|
94 | ||
95 | $oMemberController = getController('member'); |
|
96 | // Execute insert or update depending on the value of member_srl |