aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormoparisthebest <admin@moparisthebest.com>2015-01-12 18:49:05 -0500
committermoparisthebest <admin@moparisthebest.com>2015-01-12 19:52:41 -0500
commit7f782e44965b005efe01d347dedd1825872b9345 (patch)
treea0fcd0ce37fa961453237495cb35e84515aae3c0
parent8ae45e7fe27ab416cf2a30cd2c319940037b7cbf (diff)
downloadwallabag-7f782e44965b005efe01d347dedd1825872b9345.tar.gz
wallabag-7f782e44965b005efe01d347dedd1825872b9345.tar.zst
wallabag-7f782e44965b005efe01d347dedd1825872b9345.zip
Add ability to tag an article on creation
-rwxr-xr-xinc/poche/Poche.class.php7
1 files changed, 7 insertions, 0 deletions
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
180 } 180 }
181 } 181 }
182 182
183 // if there are tags, add them to the new article
184 if (isset($_GET['tags'])) {
185 $_POST['value'] = $_GET['tags'];
186 $_POST['entry_id'] = $last_id;
187 $this->action('add_tag', $url);
188 }
189
183 $this->messages->add('s', _('the link has been added successfully')); 190 $this->messages->add('s', _('the link has been added successfully'));
184 } 191 }
185 else { 192 else {