From 31d3f8bb5783f5311bb3b7a86c3a6f5beb594580 Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Thu, 18 Sep 2014 22:08:16 +0200 Subject: Fix bug: update of the last_modified field for projects --- app/Event/ProjectModificationDate.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'app/Event/ProjectModificationDate.php') diff --git a/app/Event/ProjectModificationDate.php b/app/Event/ProjectModificationDate.php index d0d1e846..1b0b3736 100644 --- a/app/Event/ProjectModificationDate.php +++ b/app/Event/ProjectModificationDate.php @@ -55,8 +55,7 @@ class ProjectModificationDate implements Listener public function execute(array $data) { if (isset($data['project_id'])) { - $this->project->updateModificationDate($data['project_id']); - return true; + return $this->project->updateModificationDate($data['project_id']); } return false; -- cgit v1.2.3