diff --git a/modules/lib-search-engine.php b/modules/lib-search-engine.php index a2a8206..3c7ca7f 100644 --- a/modules/lib-search-engine.php +++ b/modules/lib-search-engine.php @@ -187,7 +187,7 @@ class search ); if(!empty($results)) { usort($results, function($a, $b) : int { - return self::compare($a, $b); + return self::$sorter->compare($a, $b); }); }