Added trim() when adding a feed manually

This commit is contained in:
Frederic Guillot 2013-07-14 11:59:01 -04:00
parent e2121cc72d
commit 3573c621fc
1 changed files with 1 additions and 1 deletions

View File

@ -402,7 +402,7 @@ Router\get_action('add', function() {
// Add the feed
Router\post_action('add', function() {
$result = Model\import_feed($_POST['url']);
$result = Model\import_feed(trim($_POST['url']));
Model\write_debug();
if ($result) {