diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-07-02 11:50:32 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-07-02 11:50:32 -0400 |
commit | 853189a43fff8b8b64f18029a35ac910b14932e8 (patch) | |
tree | 53a4b6fd29124de69ce20ea9ec2d0fb7caa1d297 /app/Helper | |
parent | 6db72521eab77ebcb5f8bb196fe72e8f4f8a8c34 (diff) |
Do not create empty tags and remove tags only when necessary
Diffstat (limited to 'app/Helper')
-rw-r--r-- | app/Helper/TaskHelper.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/Helper/TaskHelper.php b/app/Helper/TaskHelper.php index ce39eb2a..84b41e42 100644 --- a/app/Helper/TaskHelper.php +++ b/app/Helper/TaskHelper.php @@ -70,6 +70,7 @@ class TaskHelper extends Base $options = $this->tagModel->getAssignableList($project['id']); $html = $this->helper->form->label(t('Tags'), 'tags[]'); + $html .= '<input type="hidden" name="tags[]" value="">'; $html .= '<select name="tags[]" id="form-tags" class="tag-autocomplete" multiple>'; foreach ($options as $tag) { |