summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--controllers/task.php2
-rw-r--r--locales/fr_FR/translations.php2
-rw-r--r--locales/pl_PL/translations.php2
-rw-r--r--models/board.php2
4 files changed, 1 insertions, 7 deletions
diff --git a/controllers/task.php b/controllers/task.php
index e42d1eec..b30758b6 100644
--- a/controllers/task.php
+++ b/controllers/task.php
@@ -151,7 +151,7 @@ class Task extends Base
'errors' => $errors,
'values' => $values,
'projects_list' => $this->project->getListByStatus(\Model\Project::ACTIVE),
- 'columns_list' => $this->board->getColumnsList($task['project_id']),
+ 'columns_list' => $this->board->getColumnsList($values['project_id']),
'users_list' => $this->user->getList(),
'colors_list' => $this->task->getColors(),
'menu' => 'tasks',
diff --git a/locales/fr_FR/translations.php b/locales/fr_FR/translations.php
index 76e4fc37..4249632a 100644
--- a/locales/fr_FR/translations.php
+++ b/locales/fr_FR/translations.php
@@ -124,8 +124,6 @@ return array(
'The user id is required' => 'L\'id de l\'utilisateur est obligatoire',
'Passwords doesn\'t matches' => 'Les mots de passe ne correspondent pas',
'The confirmation is required' => 'Le confirmation est requise',
- 'The password is required' => 'Le mot de passe est obligatoire',
- 'The title is required' => 'Le titre est obligatoire',
'The column is required' => 'La colonne est obligatoire',
'The project is required' => 'Le projet est obligatoire',
'The color is required' => 'La couleur est obligatoire',
diff --git a/locales/pl_PL/translations.php b/locales/pl_PL/translations.php
index 2c7a8ea3..ae3df97e 100644
--- a/locales/pl_PL/translations.php
+++ b/locales/pl_PL/translations.php
@@ -124,8 +124,6 @@ return array(
'The user id is required' => 'ID użytkownika jest wymagane',
'Passwords doesn\'t matches' => 'Hasła nie pasują do siebie',
'The confirmation is required' => 'Wymagane jest potwierdzenie',
- 'The password is required' => 'Hasło jest wymagane',
- 'The title is required' => 'Tutył jest wymagany',
'The column is required' => 'Kolumna jest wymagana',
'The project is required' => 'Projekt jest wymagany',
'The color is required' => 'Kolor jest wymagany',
diff --git a/models/board.php b/models/board.php
index 3142a7cc..d213f257 100644
--- a/models/board.php
+++ b/models/board.php
@@ -155,8 +155,6 @@ class Board extends Base
// Validate column creation
public function validateCreation(array $values)
{
- $rules = array();
-
$v = new Validator($values, array(
new Validators\Required('project_id', t('The project id is required')),
new Validators\Integer('project_id', t('This value must be an integer')),