Skip to content

Commit

Permalink
Merge branch 'hotfix/60_using_this_not_in_object_mode'
Browse files Browse the repository at this point in the history
  • Loading branch information
svanschu committed Jan 25, 2021
2 parents e845fe0 + 1ae05f1 commit e5986d4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions plugins/schuweb_sitemap/com_virtuemart/com_virtuemart.php
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,7 @@ static function getCategoryTree($sitemap, $parent, &$params, $catid=0)
}

$vendorId = 1;
$cache = JFactory::getCache('com_virtuemart','callback');
$children = $cache->call( array( 'VirtueMartModelCategory', 'getChildCategoryList' ),$vendorId, $catid );
$children = VmModel::getModel('category')->getChildCategoryList($vendorId, $catid);

$sitemap->changeLevel(1);

Expand Down

0 comments on commit e5986d4

Please sign in to comment.