From acad898f0518f64a331f3cf8269a29d9a9f8117b Mon Sep 17 00:00:00 2001 From: lens0021 Date: Sat, 29 May 2021 06:42:55 +0900 Subject: [PATCH] Fix Call to a member function on null (Fix #39) --- specials/SpecialOrderedWhatLinksHere.php | 42 ++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/specials/SpecialOrderedWhatLinksHere.php b/specials/SpecialOrderedWhatLinksHere.php index 0f9adfa..fba32ce 100644 --- a/specials/SpecialOrderedWhatLinksHere.php +++ b/specials/SpecialOrderedWhatLinksHere.php @@ -1,5 +1,8 @@ loadBalancer = $loadBalancer; + $this->linkBatchFactory = $linkBatchFactory; + $this->contentHandlerFactory = $contentHandlerFactory; + $this->searchEngineFactory = $searchEngineFactory; + $this->namespaceInfo = $namespaceInfo; + } + /** * Copied from REL1_36 without modification to replace private function showIndirectLinks. *