mirror of
https://github.com/wallabag/wallabag.git
synced 2024-12-23 08:06:33 +00:00
Add ability to tag an article on creation
This commit is contained in:
parent
8ae45e7fe2
commit
7f782e4496
1 changed files with 7 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue