From: moparisthebest Date: Mon, 12 Jan 2015 23:49:05 +0000 (-0500) Subject: Add ability to tag an article on creation X-Git-Tag: 1.9beta~36^2~2 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=7f782e44965b005efe01d347dedd1825872b9345;p=github%2Fwallabag%2Fwallabag.git Add ability to tag an article on creation --- diff --git a/inc/poche/Poche.class.php b/inc/poche/Poche.class.php index a29cb327..c7c59878 100755 --- a/inc/poche/Poche.class.php +++ b/inc/poche/Poche.class.php @@ -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 {