Skip to Content.
Sympa Menu

comanage-dev - [comanage-dev] r481 - registry/trunk/app/Model

Subject: COmanage Developers List

List archive

[comanage-dev] r481 - registry/trunk/app/Model


Chronological Thread 
  • From:
  • To:
  • Subject: [comanage-dev] r481 - registry/trunk/app/Model
  • Date: Tue, 5 Mar 2013 17:07:18 -0500
  • Authentication-results: sfpop-ironport01.merit.edu; dkim=neutral (message not signed) header.i=none

Author: marie
Date: 2013-03-05 17:07:16 -0500 (Tue, 05 Mar 2013)
New Revision: 481

Modified:
registry/trunk/app/Model/CoNsfDemographic.php
Log:
co571 update validation for demographics for cake2.3

Modified: registry/trunk/app/Model/CoNsfDemographic.php
===================================================================
--- registry/trunk/app/Model/CoNsfDemographic.php 2013-03-05 20:20:26
UTC (rev 480)
+++ registry/trunk/app/Model/CoNsfDemographic.php 2013-03-05 22:07:16
UTC (rev 481)
@@ -65,7 +65,7 @@
'allowEmpty' => true
),
'race' => array(
- 'rule' => array('inList', array(NSFRaceEnum::Asian,
+ 'rule' => array('multiple', array(NSFRaceEnum::Asian,
NSFRaceEnum::AmericanIndian,
NSFRaceEnum::Black,
NSFRaceEnum::NativeHawaiian,
@@ -74,7 +74,7 @@
'allowEmpty' => true
),
'disability' => array(
- 'rule' => array('inList', array(NSFDisabilityEnum::Hearing,
+ 'rule' => array('multiple', array(NSFDisabilityEnum::Hearing,
NSFDisabilityEnum::Visual,
NSFDisabilityEnum::Mobility,
NSFDisabilityEnum::Other)),



  • [comanage-dev] r481 - registry/trunk/app/Model, svnlog, 03/05/2013

Archive powered by MHonArc 2.6.16.

Top of Page