comanage-dev - [comanage-dev] r249 - registry/trunk/app/Controller
Subject: COmanage Developers List
List archive
- From:
- To:
- Subject: [comanage-dev] r249 - registry/trunk/app/Controller
- Date: Mon, 5 Mar 2012 20:02:27 -0500
Author: marie
Date: 2012-03-05 20:02:26 -0500 (Mon, 05 Mar 2012)
New Revision: 249
Modified:
registry/trunk/app/Controller/CoNsfDemographicsController.php
Log:
co277 sort parameter warnings
Modified: registry/trunk/app/Controller/CoNsfDemographicsController.php
===================================================================
--- registry/trunk/app/Controller/CoNsfDemographicsController.php
2012-03-05 00:10:45 UTC (rev 248)
+++ registry/trunk/app/Controller/CoNsfDemographicsController.php
2012-03-06 01:02:26 UTC (rev 249)
@@ -69,8 +69,10 @@
{
// Race and Disability
$d =
$this->CoNsfDemographic->extractOptions($demo['CoNsfDemographic'], true);
- sort($d['race']);
- sort($d['disability']);
+ if(isset($d['race']))
+ sort($d['race']);
+ if(isset($d['disability']))
+ sort($d['disability']);
// Overwrite default viewVars
$factoredDemo[$key]['CoNsfDemographic']['race'] = $d['race'];
- [comanage-dev] r249 - registry/trunk/app/Controller, svnlog, 03/05/2012
Archive powered by MHonArc 2.6.16.