summaryrefslogtreecommitdiffstats
path: root/db
diff options
context:
space:
mode:
Diffstat (limited to 'db')
-rw-r--r--db/entity.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/entity.php b/db/entity.php
index 31a0296cd..165c7a476 100644
--- a/db/entity.php
+++ b/db/entity.php
@@ -80,7 +80,7 @@ abstract class Entity {
* @param string $attribute the name of the attribute
*/
protected function markFieldUpdated($attribute){
- array_push($this->updatedFields, $attribute);
+ $this->updatedFields[$attribute] = true;
}