Bug #2841 ยป 2841.patch
| administrator/components/com_comprofiler/plugin.foundation.php | ||
|---|---|---|
|
}
|
||
|
function appendPathWay( $title, $link = null ) {
|
||
|
if ( method_exists( $this->_baseFramework, 'appendPathWay' ) ) {
|
||
|
if ( checkJversion() == 1 ) {
|
||
|
if ( checkJversion() >= 1 ) {
|
||
|
return $this->_baseFramework->appendPathWay( $title, $link );
|
||
|
} else {
|
||
|
// don't process link, as some version do htmlspecialchar those:
|
||
| ... | ... | |
|
// }
|
||
|
return $this->_baseFramework->appendPathWay( $title );
|
||
|
}
|
||
|
} elseif ( method_exists( $this->_baseFramework, 'getPathway' ) ) {
|
||
|
return $this->_baseFramework->getPathway()->addItem( $title, $link );
|
||
|
} else {
|
||
|
return null;
|
||
|
}
|
||