X-Git-Url: http://git.shiar.nl/minimedit.git/blobdiff_plain/68acff62101e1c302e55befa6d526c46f15da464..f547127c637332119b42329ca78d0e1a659d9739:/widget/nieuws.php?ds=sidebyside diff --git a/widget/nieuws.php b/widget/nieuws.php index c12efc8..73258b2 100644 --- a/widget/nieuws.php +++ b/widget/nieuws.php @@ -53,7 +53,7 @@ function printtoc($input, $class = FALSE) } } -$articles = (ltrim($Page->path, '/') ?: 'nieuws'); +$articles = $Page->place[0] ?? 'nieuws'; if (strpos($articles, '/') === FALSE) { if (@$Page->place['view'] === 'toc') { print "
\n";