Bug #3739 ยป plugin.foundation.patch
administrator/components/com_comprofiler/plugin.foundation.php | ||
---|---|---|
$var = $user->getField( $field, null, 'php', 'none', 'profile', 0, true ); // allow accessing all fields in the if
|
||
if ( is_array( $var ) ) {
|
||
$var = array_shift( $var );
|
||
if ( is_array( $var ) && ! in_array( $operator, array( ' includes ', '!includes ' ) ) ) {
|
||
if ( is_array( $var ) && ! in_array( $compare, array( ' includes ', '!includes ' ) ) ) {
|
||
$var = implode( '|*|', $var );
|
||
}
|
||
} elseif ( isset( $user->_cbuser->$field ) ) {
|