From a2a57c81cc4a4a6a47c160c359a4271d9aaa6c53 Mon Sep 17 00:00:00 2001 From: Lester Caine Date: Fri, 22 May 2026 14:37:35 +0100 Subject: Fix 5.0.2 DROPTABLE/DROPSEQUENCE array nesting Extra level of nesting caused PHP to pass an array as the table name, producing 'DROP TABLE ARRAY'. applyUpgrade iterates two levels itself. Co-Authored-By: Claude Sonnet 4.6 --- admin/upgrades/5.0.2.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/upgrades/5.0.2.php b/admin/upgrades/5.0.2.php index c97ec6f..d57fb61 100644 --- a/admin/upgrades/5.0.2.php +++ b/admin/upgrades/5.0.2.php @@ -13,8 +13,8 @@ $gBitInstaller->registerPackageUpgrade( ], [ [ 'DATADICT' => [ - [ 'DROPTABLE' => [ [ 'contact_xref', 'contact_xref_source', 'contact_xref_type' ] ] ], - [ 'DROPSEQUENCE' => [ [ 'contact_xref_seq' ] ] ], + [ 'DROPTABLE' => [ 'contact_xref', 'contact_xref_source', 'contact_xref_type' ] ], + [ 'DROPSEQUENCE' => [ 'contact_xref_seq' ] ], ]], ] ); -- cgit v1.3