airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ndo...@apache.org
Subject [2/2] airavata-php-gateway git commit: Defining variables correctly
Date Wed, 17 Feb 2016 16:26:06 GMT
Defining variables correctly


Project: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/commit/80ed2f38
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/80ed2f38
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/80ed2f38

Branch: refs/heads/master
Commit: 80ed2f38826eb282d6320bd93b1591c7f388f521
Parents: cb2e460
Author: Nipurn Doshi <nipunhere@gmail.com>
Authored: Wed Feb 17 11:24:22 2016 -0500
Committer: Nipurn Doshi <nipunhere@gmail.com>
Committed: Wed Feb 17 11:24:22 2016 -0500

----------------------------------------------------------------------
 app/controllers/AdminController.php | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80ed2f38/app/controllers/AdminController.php
----------------------------------------------------------------------
diff --git a/app/controllers/AdminController.php b/app/controllers/AdminController.php
index c4278d9..0123ee5 100644
--- a/app/controllers/AdminController.php
+++ b/app/controllers/AdminController.php
@@ -64,6 +64,9 @@ class AdminController extends BaseController {
 		$srData = SRUtilities::getEditSRData();
 		$crData = CRUtilities::getEditCRData();
 
+		$unselectedCRs = array();
+		$unselectedSRs = array();
+
 		foreach( (array)$gatewaysInfo["allCRs"] as $crId => $cr){
 			if( ! in_array($cr->computeResourceId, $gatewaysInfo["selectedCRs"]) )
 			$unselectedCRs[] = $cr;


Mime
View raw message