diff --git a/include/class.orm.php b/include/class.orm.php index 2a2c875582d9a9a164b23425673e876fcacc8fca..7ac7145496b3a31fb08772b79cf0957eae433260 100644 --- a/include/class.orm.php +++ b/include/class.orm.php @@ -683,8 +683,10 @@ class VerySimpleModel { $data = array('dirty' => $this->dirty); Signal::send('model.updated', $this, $data); foreach ($this->dirty as $key => $value) { - $type = array('type' => 'edited', 'key' => $key, 'orm_audit' => true); - Signal::send('object.edited', $this, $type); + if ($key != 'value' && $key != 'updated') { + $type = array('type' => 'edited', 'key' => $key, 'orm_audit' => true); + Signal::send('object.edited', $this, $type); + } } } # Refetch row from database