1
0
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:
Cameron
2013-05-06 15:40:37 -07:00
parent a3b6b656e5
commit 438bf16b0c

View File

@@ -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);
}
}