git.shiar.nl
/
minimedit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
widget: unnamed options as placeholders instead of path
[minimedit.git]
/
widget
/
nieuws.php
diff --git
a/widget/nieuws.php
b/widget/nieuws.php
index c12efc8db3348b5b262f1c24dfe77357832bc4d5..73258b2a31c53024f2693d0b5d7cc1cb5531b77b 100644
(file)
--- 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 "<div>\n";