Skip to content

Commit

Permalink
Fix Undefined variable: nextNumber (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
lens0021 authored Apr 26, 2021
1 parent bba9ccb commit de0384d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion specials/SpecialOrderedWhatlinkshere.php
Original file line number Diff line number Diff line change
@@ -332,7 +332,7 @@ private function showIndirectLinks( $level, $target, $limit, $from = 0, $back =
/* ***Replaced***
$prevnext = $this->getPrevNext( $prevId, $nextId );
*/
$prevnext = $this->getPrevNext( $prevNumber, $nextNumber );
$prevnext = $this->getPrevNext( $prevNumber, $nextNumber ?? null );
// ***Replacement ends**
$out->addHTML( $prevnext );
}

0 comments on commit de0384d

Please sign in to comment.