Browse Source

Fix the gateway_uuid.php upgrade script so it will work for both single or multi-tenant.

Mark Crane 10 years ago
parent
commit
4d0eb99374
1 changed files with 1 additions and 1 deletions
  1. 1 1
      upgrade/gateway_uuid.php

+ 1 - 1
upgrade/gateway_uuid.php

@@ -85,7 +85,7 @@ else {
 					}
 
 				//single tenant gateway name
-					if (count($_SESSION['domains']) > 1) {
+					if (count($_SESSION['domains']) == 1) {
 						$original_gateway_name = $gateway;
 					}