# This patch file was generated by NetBeans IDE # This patch can be applied using context Tools: Apply Diff Patch action on respective folder. # It uses platform neutral UTF-8 encoding. # Above lines and this line are ignored by the patching process. --- components/com_comprofiler/plugin/user/plug_cbgroupjive/component.cbgroupjive.php +++ components/com_comprofiler/plugin/user/plug_cbgroupjive/component.cbgroupjive.php @@ -2226,7 +2226,7 @@ if ( $user_id ) { $row->user = $user_id; } - } elseif ( in_array( 4, $invite_by ) && preg_match( '!^[\w._%+-]+@(?:\w+\.)+\w{2,4}$!', $invite ) ) { \ No newline at end of file + } elseif ( in_array( 4, $invite_by ) && cbIsValidEmail( $invite ) ) { \ No newline at end of file $query = 'SELECT a.' . $_CB_database->NameQuote( 'user_id' ) . "\n FROM " . $_CB_database->NameQuote( '#__comprofiler' ). " AS a" . "\n INNER JOIN " . $_CB_database->NameQuote( '#__users' ) . " AS b"