Added trim() when adding a feed manually
This commit is contained in:
parent
e2121cc72d
commit
3573c621fc
@ -402,7 +402,7 @@ Router\get_action('add', function() {
|
|||||||
// Add the feed
|
// Add the feed
|
||||||
Router\post_action('add', function() {
|
Router\post_action('add', function() {
|
||||||
|
|
||||||
$result = Model\import_feed($_POST['url']);
|
$result = Model\import_feed(trim($_POST['url']));
|
||||||
Model\write_debug();
|
Model\write_debug();
|
||||||
|
|
||||||
if ($result) {
|
if ($result) {
|
||||||
|
Loading…
Reference in New Issue
Block a user