Skip to content

Commit d713252

Browse files
authored
Fix: Inline variables (#856)
1 parent 1bf886a commit d713252

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

include/shared-manual.inc

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -385,11 +385,10 @@ function manual_footer(): void {
385385
global $USERNOTES, $__RELATED;
386386

387387
manual_notes($USERNOTES);
388-
$config = [
388+
site_footer([
389389
'related_menu' => $__RELATED['toc'],
390390
'related_menu_deprecated' => $__RELATED['toc_deprecated']
391-
];
392-
site_footer($config);
391+
]);
393392
}
394393

395394
// This function takes a DateTime object and returns a formated string of the time difference relative to now

quickref.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,7 @@ function quickref_table($functions, $sort = true): void
131131
<?php
132132
quickref_table($maybe, false);
133133

134-
$config = [
134+
site_footer([
135135
"sidebar" => '<p class="panel"><a href="/search.php?show=all&amp;pattern=' . $notfound_enc . '">Full website search</a>',
136-
];
137-
138-
site_footer($config);
136+
]);
139137
}

0 commit comments

Comments
 (0)