From cd633b9aff78650752906dad0c2f64d82e018f39 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Mon, 10 Oct 2016 14:14:29 -0400 Subject: Update documentation and move screenshots --- app/Model/MetadataModel.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'app/Model/MetadataModel.php') 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, -- cgit v1.2.3