diff options
| author | Lester Caine <lester@lsces.co.uk> | 2026-05-22 14:37:35 +0100 |
|---|---|---|
| committer | Lester Caine <lester@lsces.co.uk> | 2026-05-22 14:37:35 +0100 |
| commit | a2a57c81cc4a4a6a47c160c359a4271d9aaa6c53 (patch) | |
| tree | 7df3a06f40a5fa5b4312d443bba16d122d5359a8 | |
| parent | 3c1475fcf91f525ea3b1bc6ff3f19b142b489e62 (diff) | |
| download | contact-a2a57c81cc4a4a6a47c160c359a4271d9aaa6c53.tar.gz contact-a2a57c81cc4a4a6a47c160c359a4271d9aaa6c53.tar.bz2 contact-a2a57c81cc4a4a6a47c160c359a4271d9aaa6c53.zip | |
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 <noreply@anthropic.com>
| -rw-r--r-- | admin/upgrades/5.0.2.php | 4 |
1 files 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' ] ], ]], ] ); |
