summaryrefslogtreecommitdiff
path: root/protected/models/Angebot.php
diff options
context:
space:
mode:
Diffstat (limited to 'protected/models/Angebot.php')
-rw-r--r--protected/models/Angebot.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/protected/models/Angebot.php b/protected/models/Angebot.php
index 7791bcb..9561687 100644
--- a/protected/models/Angebot.php
+++ b/protected/models/Angebot.php
@@ -38,6 +38,7 @@ class Angebot extends CActiveRecord
// NOTE: you should only define rules for those attributes that
// will receive user inputs.
return array(
+ array('name, kategorie_id', 'required'),
array('kategorie_id, published', 'numerical', 'integerOnly'=>true),
array('name', 'length', 'max'=>80),
array('beschreibung', 'safe'),