Add option to enable or disable global tags per projects
This commit is contained in:
@@ -86,7 +86,7 @@ class TaskHelper extends Base
|
||||
|
||||
public function renderTagField(array $project, array $tags = array())
|
||||
{
|
||||
$options = $this->tagModel->getAssignableList($project['id']);
|
||||
$options = $this->tagModel->getAssignableList($project['id'], $project['enable_global_tags']);
|
||||
|
||||
$html = $this->helper->form->label(t('Tags'), 'tags[]');
|
||||
$html .= '<input type="hidden" name="tags[]" value="">';
|
||||
|
||||
Reference in New Issue
Block a user