comanage-dev - [comanage-dev] r248 - registry/trunk/app/Controller
Subject: COmanage Developers List
List archive
- From:
- To:
- Subject: [comanage-dev] r248 - registry/trunk/app/Controller
- Date: Sun, 4 Mar 2012 19:10:45 -0500
Author: marie
Date: 2012-03-04 19:10:45 -0500 (Sun, 04 Mar 2012)
New Revision: 248
Modified:
registry/trunk/app/Controller/CoNsfDemographicsController.php
Log:
co-271 fixes undefined index notification
Modified: registry/trunk/app/Controller/CoNsfDemographicsController.php
===================================================================
--- registry/trunk/app/Controller/CoNsfDemographicsController.php
2012-03-04 23:51:14 UTC (rev 247)
+++ registry/trunk/app/Controller/CoNsfDemographicsController.php
2012-03-05 00:10:45 UTC (rev 248)
@@ -54,8 +54,10 @@
{
// Pass previously selected options
$options =
$this->CoNsfDemographic->extractOptions($this->data['CoNsfDemographic']);
- $this->set('race_options', $options['race']);
- $this->set('disability_options', $options['disability']);
+ if(isset($options['race']))
+ $this->set('race_options', $options['race']);
+ if(isset($options['disability']))
+ $this->set('disability_options', $options['disability']);
}
// Breaks out concatenated options for race and disability (without
descriptions)
- [comanage-dev] r248 - registry/trunk/app/Controller, svnlog, 03/04/2012
Archive powered by MHonArc 2.6.16.