mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-06-29 18:21:07 +00:00
parent
e364dd1a20
commit
e6a84052f0
@ -302,11 +302,10 @@ class RedditBridge extends BridgeAbstract
|
||||
|
||||
public static function createUrl($search, $flareInput, $subreddit, bool $user, $section, $time, $queriedContext): string
|
||||
{
|
||||
if ($search === '') {
|
||||
$keywords = '';
|
||||
} else {
|
||||
$keywords = $search;
|
||||
$keywords = str_replace([',', ' '], ' ', $keywords);
|
||||
$keywords = '';
|
||||
|
||||
if ($search) {
|
||||
$keywords = str_replace([',', ' '], ' ', $search);
|
||||
$keywords = $keywords . ' ';
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user