diff options
author | Max Kamashev <kamashev@gollard.ru> | 2015-09-24 12:35:55 +0300 |
---|---|---|
committer | Max Kamashev <kamashev@gollard.ru> | 2015-09-24 12:35:55 +0300 |
commit | cb8211ab8b1d1dc44ccfcd86a6bf2c71ad862264 (patch) | |
tree | 99c6940de52c7a7087aa06bd6cc2dba4efc0f460 /app/Model/Subtask.php | |
parent | 3f5b636c998171837fc2265f760359b421d67b61 (diff) |
refs #1245 - Hotfix logical error
Diffstat (limited to 'app/Model/Subtask.php')
-rw-r--r-- | app/Model/Subtask.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Model/Subtask.php b/app/Model/Subtask.php index a3911cf7..c222fe2b 100644 --- a/app/Model/Subtask.php +++ b/app/Model/Subtask.php @@ -243,7 +243,7 @@ class Subtask extends Base $subtask = $this->getById($values['id']); $result = $this->db->table(self::TABLE)->eq('id', $values['id'])->save($values); - if ($result && isset($options['quietly']) && $options['quietly']) { + if ($result && empty($options['quietly'])) { $event = $subtask; $event['changes'] = array_diff_assoc($values, $subtask); $this->container['dispatcher']->dispatch(self::EVENT_UPDATE, new SubtaskEvent($event)); |