Commit 165183b1 authored by Mark Harding's avatar Mark Harding
Browse files

(chore): if no query then do not do a query

parent 69ef5d61
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -91,7 +91,7 @@ class Manager
            'filter_hashtags' => false,
            'filter_hashtags' => false,
        ], $opts);
        ], $opts);


        if (isset($opts['query'])) {
        if (isset($opts['query']) && $opts['query']) {
            $opts['query'] = str_replace('#', '', strtolower($opts['query']));
            $opts['query'] = str_replace('#', '', strtolower($opts['query']));
        }
        }