Project

General

Profile

Bug #2521 » component.cbgroupjive.patch

krileon, 30 May 2011 17:53

View differences:

components/com_comprofiler/plugin/user/plug_cbgroupjive/component.cbgroupjive.php
if ( $user_id ) {
$row->user = $user_id;
}
} elseif ( in_array( 4, $invite_by ) && preg_match( '!^[\w._%+-]+@(?:\w+\.)+\w{2,4}$!', $invite ) ) {
} elseif ( in_array( 4, $invite_by ) && cbIsValidEmail( $invite ) ) {
$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"
(2-2/2)