summaryrefslogtreecommitdiff
path: root/app/Model/MetadataModel.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-10-10 14:14:29 -0400
committerFrederic Guillot <fred@kanboard.net>2016-10-10 14:14:29 -0400
commitcd633b9aff78650752906dad0c2f64d82e018f39 (patch)
treec03685bcfa80dc1bb644d40dadc4ade1afd82822 /app/Model/MetadataModel.php
parent26e901dfe69c29d56f5e2164d4683bab57663bb0 (diff)
Update documentation and move screenshots
Diffstat (limited to 'app/Model/MetadataModel.php')
-rw-r--r--app/Model/MetadataModel.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/Model/MetadataModel.php b/app/Model/MetadataModel.php
index 6177e5f3..0ab94092 100644
--- a/app/Model/MetadataModel.php
+++ b/app/Model/MetadataModel.php
@@ -101,7 +101,8 @@ abstract class MetadataModel extends Base
if ($this->exists($entity_id, $key)) {
$results[] = $this->db->table($this->getTable())
->eq($this->getEntityKey(), $entity_id)
- ->eq('name', $key)->update(array(
+ ->eq('name', $key)
+ ->update(array(
'value' => $value,
'changed_on' => $timestamp,
'changed_by' => $user_id,