diff options
Diffstat (limited to 'app/Controller/BaseController.php')
-rw-r--r-- | app/Controller/BaseController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controller/BaseController.php b/app/Controller/BaseController.php index 36871bb4..5f6976ad 100644 --- a/app/Controller/BaseController.php +++ b/app/Controller/BaseController.php @@ -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')) { |