Fix typo after refactoring

This commit is contained in:
Frederic Guillot
2016-05-31 22:42:50 -04:00
parent 4987e245bb
commit 92aba95959
3 changed files with 3 additions and 2 deletions

View File

@@ -77,7 +77,7 @@ abstract class BaseController extends Base
$model = 'projectFile';
if ($task_id > 0) {
$model = 'taskFile';
$model = 'taskFileModel';
$project_id = $this->taskFinderModel->getProjectId($task_id);
if ($project_id !== $this->request->getIntegerParam('project_id')) {