Commit 7b4529b2 authored by Erase's avatar Erase

Patch - empty result when show mode && no word

parent d9a6d59b
......@@ -28,11 +28,14 @@
if($_POST['filter'] === 'hide'){
$mode = "_badWords";
}
Config::set($mode, array_unique(
array_map('trim',
explode(',', $_POST['words'])
)
));
if(!empty($_POST['words'])){
Config::set($mode, array_unique(
array_map('trim',
explode(',', $_POST['words'])
)
));
}
}
$oFeeds = new FeedReader($_links);
......
File mode changed from 100644 to 100755
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment