From cb9e8a2ad14750e635ce8a473f8c6854889faebd Mon Sep 17 00:00:00 2001 From: Gregory Luneau Date: Wed, 20 Jan 2016 10:05:14 -0500 Subject: [PATCH] variable name change to project related --- tools/CouchDB_Import_Demographics.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/CouchDB_Import_Demographics.php b/tools/CouchDB_Import_Demographics.php index 675ec2e535f..4284882ae83 100644 --- a/tools/CouchDB_Import_Demographics.php +++ b/tools/CouchDB_Import_Demographics.php @@ -103,9 +103,9 @@ function _getSubproject($id) { function _getProject($id) { $config = NDB_Config::singleton(); - $subprojs = $config->getProjectSettings($id); - if($subprojs['id'] == $id) { - return $subprojs['Name']; + $projs = $config->getProjectSettings($id); + if($projs['id'] == $id) { + return $projs['Name']; } }