diff --git a/classes/migration/upgrade/OJSv3_3_0UpgradeMigration.inc.php b/classes/migration/upgrade/OJSv3_3_0UpgradeMigration.inc.php index a4512f2d634..8b1feb6f43a 100644 --- a/classes/migration/upgrade/OJSv3_3_0UpgradeMigration.inc.php +++ b/classes/migration/upgrade/OJSv3_3_0UpgradeMigration.inc.php @@ -167,7 +167,7 @@ private function _toJSON($row, $tableName, $searchBy, $valueToConvert) $primaryKeys = []; try { $primaryKeys = $tableDetails->getPrimaryKeyColumns(); - } catch(Exception $e) { + } catch (Exception $e) { foreach ($tableDetails->getIndexes() as $index) { if($index->isPrimary() || $index->isUnique()) { $primaryKeys = $index->getColumns(); diff --git a/dbscripts/xml/upgrade.xml b/dbscripts/xml/upgrade.xml index 55a8984a409..de1eafb1293 100644 --- a/dbscripts/xml/upgrade.xml +++ b/dbscripts/xml/upgrade.xml @@ -208,7 +208,7 @@ - +