summaryrefslogtreecommitdiff
path: root/app/Template/category
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2018-04-12 15:08:29 -0700
committerFrédéric Guillot <fred@kanboard.net>2018-04-12 15:39:55 -0700
commit0e8a94ac42c5f4345658d1581f9b2c7afa705a3a (patch)
tree437e5967e062eead16f2fdd14797d9eba01a584d /app/Template/category
parentd8c625c8562f527f4a1a7cec6c3e6904ca11b69d (diff)
Adjust field size to keep compatibility with MySQL 5.6
Diffstat (limited to 'app/Template/category')
-rw-r--r--app/Template/category/edit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Template/category/edit.php b/app/Template/category/edit.php
index 08231606..cd8ee7ba 100644
--- a/app/Template/category/edit.php
+++ b/app/Template/category/edit.php
@@ -6,7 +6,7 @@
<?= $this->form->csrf() ?>
<?= $this->form->label(t('Category Name'), 'name') ?>
- <?= $this->form->text('name', $values, $errors, array('autofocus', 'required', 'maxlength="255"', 'tabindex="1"')) ?>
+ <?= $this->form->text('name', $values, $errors, array('autofocus', 'required', 'maxlength="191"', 'tabindex="1"')) ?>
<?= $this->form->label(t('Description'), 'description') ?>
<?= $this->form->textEditor('description', $values, $errors, array('tabindex' => 2)) ?>