From ece6f5daab3a06f339302bae4c34fae225e02f8a Mon Sep 17 00:00:00 2001
From: Patrick Seeger <pseeger@ccwn.org>
Date: Fri, 17 May 2013 13:03:03 +0200
Subject: Preis optional

---
 protected/models/AngebotVerein.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/protected/models/AngebotVerein.php b/protected/models/AngebotVerein.php
index a3f7a2d..53f8345 100644
--- a/protected/models/AngebotVerein.php
+++ b/protected/models/AngebotVerein.php
@@ -44,7 +44,7 @@ class AngebotVerein extends CActiveRecord
 		// NOTE: you should only define rules for those attributes that
 		// will receive user inputs.
 		return array(
-			array('angebot_id, verein_id, menge, einheit, preis', 'required'),
+			array('angebot_id, verein_id, menge, einheit', 'required'),
 			array('angebot_id, verein_id, published', 'numerical', 'integerOnly'=>true),
 			array('menge, preis', 'numerical', "numberPattern"=>"/^\s*[-+]?[0-9]*(,|\.)?[0-9]+([eE][-+]?[0-9]+)?\s*$/"),
 			array('einheit', 'length', 'max'=>20),
-- 
cgit v1.0-28-g1787

