Răsfoiți Sursa

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

Mark Crane 10 ani în urmă
părinte
comite
4d0eb99374
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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;
 					}