summaryrefslogtreecommitdiff
path: root/protected/models/Angebot.php
diff options
context:
space:
mode:
authorccwn <tzur@ccwn.org>2012-04-24 18:49:57 +0200
committerccwn <tzur@ccwn.org>2012-04-24 18:49:57 +0200
commitc98745edd2c7b2f48bc3493c4dd9a061376c4720 (patch)
treeca1b559f220ec28c3f263d02a8b832613493471f /protected/models/Angebot.php
parent314328f527e8cae759d496f528a1472d7970c137 (diff)
- Database setup
- Database schema - Database dev data - config for new database setup - Update in AngebotVerein - Update in Speis&Trank - Update in Verein - Update in Kategorie
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'),