Explorar o código

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

Mark Crane %!s(int64=10) %!d(string=hai) anos
pai
achega
4d0eb99374
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;
 					}