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

View File

@ -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) {