diff options
author | Frédéric Guillot <fred@kanboard.net> | 2018-04-12 15:08:29 -0700 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2018-04-12 15:39:55 -0700 |
commit | 0e8a94ac42c5f4345658d1581f9b2c7afa705a3a (patch) | |
tree | 437e5967e062eead16f2fdd14797d9eba01a584d /app/Template/tag | |
parent | d8c625c8562f527f4a1a7cec6c3e6904ca11b69d (diff) |
Adjust field size to keep compatibility with MySQL 5.6
Diffstat (limited to 'app/Template/tag')
-rw-r--r-- | app/Template/tag/create.php | 2 | ||||
-rw-r--r-- | app/Template/tag/edit.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/Template/tag/create.php b/app/Template/tag/create.php index 752a63e5..c376eb28 100644 --- a/app/Template/tag/create.php +++ b/app/Template/tag/create.php @@ -6,7 +6,7 @@ <?= $this->form->hidden('project_id', $values) ?> <?= $this->form->label(t('Name'), 'name') ?> - <?= $this->form->text('name', $values, $errors, array('autofocus', 'required', 'maxlength="255"')) ?> + <?= $this->form->text('name', $values, $errors, array('autofocus', 'required', 'maxlength="191"')) ?> <?= $this->modal->submitButtons() ?> </form> diff --git a/app/Template/tag/edit.php b/app/Template/tag/edit.php index adef3568..a0e54843 100644 --- a/app/Template/tag/edit.php +++ b/app/Template/tag/edit.php @@ -7,7 +7,7 @@ <?= $this->form->hidden('project_id', $values) ?> <?= $this->form->label(t('Name'), 'name') ?> - <?= $this->form->text('name', $values, $errors, array('autofocus', 'required', 'maxlength="255"')) ?> + <?= $this->form->text('name', $values, $errors, array('autofocus', 'required', 'maxlength="191"')) ?> <?= $this->modal->submitButtons() ?> </form> |