Skip to content

Commit

Permalink
Merge pull request #87 from UmeshBhosale/125513
Browse files Browse the repository at this point in the history
Bug #125513 fix: Class 'EasyBlogRouter' not found error message after updating EasyBlog to 5.2.3
  • Loading branch information
thite-amol authored Apr 20, 2018
2 parents 5d0fed1 + 00438d6 commit ce3a558
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions easyblog/helper/simpleschema.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public function mapPost($row, $strip_tags='', $text_length=0, $skip=array()) {
$item->category->categoryid = $category->id;
$item->category->title = $category->title;

$item->url = JURI::root() . trim(EasyBlogRouter::_('index.php?option=com_easyblog&view=entry&id=' . $blog->id ), '/');
$item->url = JURI::root() . trim(EBR::_('index.php?option=com_easyblog&view=entry&id=' . $blog->id ), '/');

// Tags
$modelPT = EasyBlogHelper::getModel( 'PostTag' );
Expand Down Expand Up @@ -207,7 +207,7 @@ public function mapPost($row, $strip_tags='', $text_length=0, $skip=array()) {
$item->category->categoryid = $category->id;
$item->category->title = $category->title;

$item->url = JURI::root() . trim(EasyBlogRouter::_('index.php?option=com_easyblog&view=entry&id=' . $blog->id ), '/');
$item->url = JURI::root() . trim(EBR::_('index.php?option=com_easyblog&view=entry&id=' . $blog->id ), '/');

// Tags
$modelPT = EasyBlogHelper::getModel( 'PostTag' );
Expand Down

0 comments on commit ce3a558

Please sign in to comment.