Skip to content

Commit 1e6816d

Browse files
committed
hide animals in animals unless notfound says list
1 parent d0c90ea commit 1e6816d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

admin/info.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,9 @@ public function html()
6060
$this->line('farm host', $config['base']['farmhost']);
6161
$this->line('farm dir', DOKU_FARMDIR);
6262

63-
$this->line('animals', $this->animals($INPUT->bool('list')));
63+
if (!$animal || $config['notfound']['show'] == 'list') {
64+
$this->line('animals', $this->animals($INPUT->bool('list')));
65+
}
6466

6567
foreach ($config['inherit'] as $key => $value) {
6668
$this->line('conf_inherit_' . $key, $this->getLang($value ? 'conf_inherit_yes' : 'conf_inherit_no'));

0 commit comments

Comments
 (0)