# 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. --- administrator/components/com_comprofiler/plugin.foundation.php +++ administrator/components/com_comprofiler/plugin.foundation.php @@ -1511,6 +1511,10 @@ if ( is_array( $val ) ) { $val = array_shift( $val ); + + if ( is_array( $val ) ) { + $val = implode( '|*|', $val ); + } } elseif ( isset( $this->_cbuser->$input[1] ) ) { $val = $this->_cbuser->get( $input[1] ); } else { @@ -1557,6 +1561,10 @@ $var = $user->getField( $field, null, 'php', 'none', 'profile', 0, true ); // allow accessing all fields in the data if ( is_array( $var ) ) { $var = array_shift( $var ); + + if ( is_array( $var ) ) { + $var = implode( '|*|', $var ); + } } elseif ( isset( $user->_cbuser->$field ) ) { // fall-back to the record if it exists: $var = $user->_cbuser->get( $field );