mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 04:10:38 +02:00
Issue #255 - fix for empty sidebar.
This commit is contained in:
@@ -17,6 +17,9 @@ function navigation_shortcode($parm='')
|
||||
$data = $nav->initData($category);
|
||||
// $data = $nav->collection($category);
|
||||
|
||||
return $nav->render($data, $template);
|
||||
if($data)
|
||||
{
|
||||
return $nav->render($data, $template);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user