summaryrefslogtreecommitdiff
path: root/app/Controller
diff options
context:
space:
mode:
Diffstat (limited to 'app/Controller')
-rw-r--r--app/Controller/Project.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Controller/Project.php b/app/Controller/Project.php
index 5e75db4e..27c827d1 100644
--- a/app/Controller/Project.php
+++ b/app/Controller/Project.php
@@ -169,7 +169,7 @@ class Project extends Base
}
}
- list($valid, $errors) = $this->project->validateModification($values);
+ list($valid, $errors) = $this->projectValidator->validateModification($values);
if ($valid) {
if ($this->project->update($values)) {
@@ -329,7 +329,7 @@ class Project extends Base
public function save()
{
$values = $this->request->getValues();
- list($valid, $errors) = $this->project->validateCreation($values);
+ list($valid, $errors) = $this->projectValidator->validateCreation($values);
if ($valid) {
$project_id = $this->project->create($values, $this->userSession->getId(), true);