Skip to content

Commit

Permalink
Fixed #2
Browse files Browse the repository at this point in the history
  • Loading branch information
kavadas committed Jan 22, 2016
1 parent f87a4f0 commit 489f664
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions k2links/k2.php
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ function getLinks($args)
$categories = self::_getK2Categories();
foreach ($categories as $category)
{
$category->href = K2HelperRoute::getCategoryRoute($category->id.':'.$category->alias);
$category->href = K2HelperRoute::getCategoryRoute($category->id);
$items[] = array('id' => $category->href, 'name' => $category->name, 'class' => 'folder content');
}
break;
Expand All @@ -173,7 +173,7 @@ function getLinks($args)
$itemlist = self::_getK2Items($args->id);
foreach ($categories as $category)
{
$category->href = K2HelperRoute::getCategoryRoute($category->id.':'.$category->alias);
$category->href = K2HelperRoute::getCategoryRoute($category->id);
$items[] = array('id' => $category->href, 'name' => $category->name, 'class' => 'folder content');
}
foreach ($itemlist as $item)
Expand Down

0 comments on commit 489f664

Please sign in to comment.