# 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.class.php +++ administrator/components/com_comprofiler/plugin.class.php @@ -825,7 +825,7 @@ if ( $oValue != null || trim($oValue) != '' ) { if ( cbStartOfStringMatch( $output, 'html' ) ) { - $results = self::renderFieldHtml( $field, $user, $oValue, $output, $formatting, $reason, array() ); + $results = $this->renderFieldHtml( $field, $user, $oValue, $output, $formatting, $reason, array() ); } else { $results = $oValue; } @@ -843,13 +843,13 @@ * @param string $reason 'profile' for user profile view, 'edit' for profile edit, 'register' for registration, 'search' for searches * @param array $rowClasses */ - static function renderFieldHtml( $field, &$user, $oValue, $output, $formatting, $reason, $rowClasses ) { + function renderFieldHtml( $field, &$user, $oValue, $output, $formatting, $reason, $rowClasses ) { global $_CB_OneTwoRowsStyleToggle; $results = null; - $translatedTitle = self::getFieldTitle( $field, $user, $output, $reason ); - $htmlDescription = ( $output == 'htmledit' ? self::getFieldDescription( $field, $user, 'htmledit', $reason ) : null ); + $translatedTitle = $this->getFieldTitle( $field, $user, $output, $reason ); + $htmlDescription = ( $output == 'htmledit' ? $this->getFieldDescription( $field, $user, 'htmledit', $reason ) : null ); if ( $output == 'htmledit' ) { $labelTitle = ( trim( strip_tags( $htmlDescription ) ) ? ' title="' . htmlspecialchars( $translatedTitle ) . ':' . htmlspecialchars( $htmlDescription ) . '"' : '' );