mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-03 15:17:33 +02:00
@@ -302,11 +302,10 @@ class RedditBridge extends BridgeAbstract
|
|||||||
|
|
||||||
public static function createUrl($search, $flareInput, $subreddit, bool $user, $section, $time, $queriedContext): string
|
public static function createUrl($search, $flareInput, $subreddit, bool $user, $section, $time, $queriedContext): string
|
||||||
{
|
{
|
||||||
if ($search === '') {
|
$keywords = '';
|
||||||
$keywords = '';
|
|
||||||
} else {
|
if ($search) {
|
||||||
$keywords = $search;
|
$keywords = str_replace([',', ' '], ' ', $search);
|
||||||
$keywords = str_replace([',', ' '], ' ', $keywords);
|
|
||||||
$keywords = $keywords . ' ';
|
$keywords = $keywords . ' ';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user