summaryrefslogtreecommitdiff
path: root/import/ImportAssembly.php
diff options
context:
space:
mode:
authorLester Caine <lester@lsces.co.uk>2026-06-01 14:38:06 +0100
committerLester Caine <lester@lsces.co.uk>2026-06-01 14:38:06 +0100
commitf7b9724701dbed7197fd49b57c42f436062574de (patch)
tree9efd4f0f54fbcbf8d0a22f6d23bd3cf411c5ff79 /import/ImportAssembly.php
parentdb935105f8dbc8582cbe4dbfb4961a836af0eb64 (diff)
downloadstock-f7b9724701dbed7197fd49b57c42f436062574de.tar.gz
stock-f7b9724701dbed7197fd49b57c42f436062574de.tar.bz2
stock-f7b9724701dbed7197fd49b57c42f436062574de.zip
Rename stock_assembly_component_map table to stock_assembly_map
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'import/ImportAssembly.php')
-rw-r--r--import/ImportAssembly.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/import/ImportAssembly.php b/import/ImportAssembly.php
index 001dd8c..a42e320 100644
--- a/import/ImportAssembly.php
+++ b/import/ImportAssembly.php
@@ -69,7 +69,7 @@ function StockAssemblyBatchLoad( string $assemblyTitle, array $pRows ): array {
// Update quantity_value and quantity_item on the map row just inserted
global $gBitDb;
$gBitDb->query(
- "UPDATE `".BIT_DB_PREFIX."stock_assembly_component_map`
+ "UPDATE `".BIT_DB_PREFIX."stock_assembly_map`
SET `quantity_value` = ?, `quantity_item` = ?
WHERE `assembly_content_id` = ? AND `item_content_id` = ?",
[ $qtyValue, $qtySrc, $assembly->mContentId, $componentContentId ]