Project

General

Profile

2841.patch

krileon, 14 October 2011 05:37 PM

View differences:

administrator/components/com_comprofiler/plugin.foundation.php
2773 2773
	}
2774 2774
	function appendPathWay( $title, $link = null ) {
2775 2775
		if ( method_exists( $this->_baseFramework, 'appendPathWay' ) ) {
2776
			if ( checkJversion() == 1 ) {
2776
			if ( checkJversion() >= 1 ) {
2777 2777
				return $this->_baseFramework->appendPathWay( $title, $link );
2778 2778
			} else {
2779 2779
				// don't process link, as some version do htmlspecialchar those:
......
2782 2782
				// }
2783 2783
				return $this->_baseFramework->appendPathWay( $title );
2784 2784
			}
2785
		} elseif ( method_exists( $this->_baseFramework, 'getPathway' ) ) {
2786
			return $this->_baseFramework->getPathway()->addItem( $title, $link );
2785 2787
		} else {
2786 2788
			return null;
2787 2789
		}