Add ability to tag an article on creation

This commit is contained in:
Travis Burtrum 2015-01-12 18:49:05 -05:00
parent 1186b3b67a
commit acd99aa010
1 changed files with 7 additions and 0 deletions

View File

@ -180,6 +180,13 @@ class Poche
}
}
// if there are tags, add them to the new article
if (isset($_GET['tags'])) {
$_POST['value'] = $_GET['tags'];
$_POST['entry_id'] = $last_id;
$this->action('add_tag', $url);
}
$this->messages->add('s', _('the link has been added successfully'));
}
else {