Skip to Content.
Sympa Menu

comanage-dev - [comanage-dev] r237 - registry/trunk/app/View/CoNsfDemographics

Subject: COmanage Developers List

List archive

[comanage-dev] r237 - registry/trunk/app/View/CoNsfDemographics


Chronological Thread 
  • From:
  • To:
  • Subject: [comanage-dev] r237 - registry/trunk/app/View/CoNsfDemographics
  • Date: Fri, 24 Feb 2012 18:46:02 -0500

Author: marie
Date: 2012-02-24 18:46:02 -0500 (Fri, 24 Feb 2012)
New Revision: 237

Modified:
registry/trunk/app/View/CoNsfDemographics/fields.inc
Log:
co258

Modified: registry/trunk/app/View/CoNsfDemographics/fields.inc
===================================================================
--- registry/trunk/app/View/CoNsfDemographics/fields.inc 2012-02-24
09:07:59 UTC (rev 236)
+++ registry/trunk/app/View/CoNsfDemographics/fields.inc 2012-02-24
23:46:02 UTC (rev 237)
@@ -168,7 +168,7 @@
$args = array('type' => 'select',
'multiple' => 'checkbox',
'options' => $optionDesc['race'],
- 'selected' => $race_options
+ 'selected' => (isset($race_options) ? $race_options
: array())
);
print ($e ? $this->Form->input('race', $args)
: _txt('en.nsf.race',
@@ -186,7 +186,7 @@
$args = array('type' => 'select',
'multiple' => 'checkbox',
'options' => $optionDesc['disability'],
- 'selected' => $disability_options
+ 'selected' => (isset($disability_options) ?
$disability_options : array())
);
print ($e ? $this->Form->input('disability', $args)
: _txt('en.nsf.disab',



  • [comanage-dev] r237 - registry/trunk/app/View/CoNsfDemographics, svnlog, 02/24/2012

Archive powered by MHonArc 2.6.16.

Top of Page