# 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 @@ -2773,7 +2773,7 @@ } 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: @@ -2782,6 +2782,8 @@ // } return $this->_baseFramework->appendPathWay( $title ); } + } elseif ( method_exists( $this->_baseFramework, 'getPathway' ) ) { + return $this->_baseFramework->getPathway()->addItem( $title, $link ); } else { return null; }