Explorar o código

fixed Storage xsd with foreign key

Piotr Labudda %!s(int64=8) %!d(string=hai) anos
pai
achega
463024ecde
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      SE/se-lib/Route/Storage.php

+ 1 - 1
SE/se-lib/Route/Storage.php

@@ -1029,7 +1029,7 @@ jQuery(document).on('p5UIBtnAjax:Storage:checkObjectInstallAjax:ajaxLoaded', fun
 		$foreignKeys = [];
 		{
 			$dbName = DB::getPDO($idStorage)->getDatabaseName();
-			if ('mysql' === DB::getPDO($idStorage)->getType) {
+			if ('mysql' === DB::getPDO($idStorage)->getType()) {
 				$foreignKeys = DB::getPDO($idStorage)->fetchAll("
 					SELECT i.TABLE_SCHEMA, i.TABLE_NAME, i.CONSTRAINT_TYPE, i.CONSTRAINT_NAME, k.COLUMN_NAME, k.REFERENCED_TABLE_NAME, k.REFERENCED_COLUMN_NAME
 					FROM information_schema.TABLE_CONSTRAINTS i