summaryrefslogtreecommitdiff
path: root/app/Template/category
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-11-26 21:30:21 -0500
committerFrédéric Guillot <fred@kanboard.net>2014-11-26 21:30:21 -0500
commit52b9899fc564f7fce572790ede5e59b30b09875c (patch)
treed6ad85bff02aea37b9da88682cd0d7824fb2f6b1 /app/Template/category
parent3ba8e066328866d7446e1167fd35ecf2bdc4351e (diff)
Remove some code duplication
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 05fe288a..66cf429b 100644
--- a/app/Template/category/edit.php
+++ b/app/Template/category/edit.php
@@ -2,7 +2,7 @@
<h2><?= t('Category modification for the project "%s"', $project['name']) ?></h2>
</div>
-<form method="post" action="<?= Helper\u('category', 'update', array('project_id' => $project['id'])) ?>" autocomplete="off">
+<form method="post" action="<?= Helper\u('category', 'update', array('project_id' => $project['id'], 'category_id' => $values['id'])) ?>" autocomplete="off">
<?= Helper\form_csrf() ?>