Add ability to tag an article on creation

This commit is contained in:
moparisthebest 2015-01-12 18:49:05 -05:00
parent 8ae45e7fe2
commit 7f782e4496

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')); $this->messages->add('s', _('the link has been added successfully'));
} }
else { else {