diff options
Diffstat (limited to 'protected/models/Veranstaltung.php')
| -rw-r--r-- | protected/models/Veranstaltung.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/protected/models/Veranstaltung.php b/protected/models/Veranstaltung.php index 64c7854..496cf30 100644 --- a/protected/models/Veranstaltung.php +++ b/protected/models/Veranstaltung.php @@ -113,7 +113,7 @@ class Veranstaltung extends CActiveRecord )); } - public function beforeSave() { + protected function beforeSave() { $isValid = parent::beforeSave(); if ($isValid) { $this->startzeit = Format::dbDateTime($this->startzeit); @@ -122,6 +122,10 @@ class Veranstaltung extends CActiveRecord return $isValid; } + protected function afterFind() { + parent::afterFind(); + } + public function behaviors() { return array( 'LoggableBehavior'=>'application.modules.auditTrail.behaviors.LoggableBehavior', |
