Fix minor errors

This commit is contained in:
Frédéric Guillot 2014-02-21 21:19:17 -05:00
parent 94ce6f1364
commit 3345154b4d
4 changed files with 1 additions and 7 deletions

View File

@ -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',

View File

@ -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',

View File

@ -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',

View File

@ -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')),