Fix wrong variable in ShowSearchHit call.
[lhc/web/wiklou.git] / includes / widget / search / FullSearchResultWidget.php
index 4c98399..5e45c63 100644 (file)
@@ -79,7 +79,7 @@ class FullSearchResultWidget implements SearchResultWidget {
                        if ( !Hooks::run( 'ShowSearchHit', [
                                $this->specialPage, $result, $terms,
                                &$link, &$redirect, &$section, &$extract,
-                               &$score, &$size, &$date, &$related, &$html
+                               &$score, &$desc, &$date, &$related, &$html
                        ] ) ) {
                                return $html;
                        }