[Home]WikiBugs/UnusedVariableDeclarationAndUse

UseModWiki | WikiBugs | RecentChanges | Preferences

sub GetHeader {
- my ($id, $title, $oldId, $backlinks) = @_;
+ my ($id, $title, $oldId) = @_;
...
-  if (($id ne '') and $backlinks) {
+  if ($id ne '') {
Otherwise, it can be used at config file in order to optional backlinks-header feature.

--JuanmaMP

The parameter backlinks is set in one call of GetHeader, the call in BrowsePage. If backlinks is set, the header is a link to the back link list of the page.

So I think, this is not a bug.

-- MarkusLude


UseModWiki | WikiBugs | RecentChanges | Preferences
Edit text of this page | View other revisions | Search MetaWiki
Last edited October 29, 2017 3:56 pm by MarkusLude (diff)
Search: