@@ 94-98 (lines=5) @@ | ||
91 | $myts = MyTextSanitizer::getInstance(); |
|
92 | $criteria = new CriteriaCompo(); |
|
93 | ||
94 | if ( !empty( $_POST['user_uname'] ) ) { |
|
95 | $match = ( !empty( $_POST['user_uname_match'] ) ) ? intval( $_POST['user_uname_match'] ) : XOOPS_MATCH_START; |
|
96 | $ret = $myts->addSlashes( trim( $_POST['user_uname'] ) ); |
|
97 | xoops_Criteria( $criteria, 'uname', $ret, $match ); |
|
98 | } |
|
99 | ||
100 | if ( !empty( $_POST['user_name'] ) ) { |
|
101 | $match = ( !empty( $_POST['user_name_match'] ) ) ? intval( $_POST['user_name_match'] ) : XOOPS_MATCH_START; |
|
@@ 100-104 (lines=5) @@ | ||
97 | xoops_Criteria( $criteria, 'uname', $ret, $match ); |
|
98 | } |
|
99 | ||
100 | if ( !empty( $_POST['user_name'] ) ) { |
|
101 | $match = ( !empty( $_POST['user_name_match'] ) ) ? intval( $_POST['user_name_match'] ) : XOOPS_MATCH_START; |
|
102 | $ret = $myts->addSlashes( trim( $_POST['user_uname'] ) ); |
|
103 | xoops_Criteria( $criteria, 'name', $ret, $match ); |
|
104 | } |
|
105 | ||
106 | if ( !empty( $_POST['user_email'] ) ) { |
|
107 | $match = ( !empty( $_POST['user_email_match'] ) ) ? intval( $_POST['user_email_match'] ) : XOOPS_MATCH_START; |