diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/Model/MetadataModel.php | 3 |
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, |