diff options
| author | Lester Caine <lester@lsces.co.uk> | 2026-06-11 10:42:10 +0100 |
|---|---|---|
| committer | Lester Caine <lester@lsces.co.uk> | 2026-06-11 10:42:10 +0100 |
| commit | 51195f3ae4cbc9ce3ae6f6054e75a72fdf0a5e32 (patch) | |
| tree | e0004f02fc8a910a9f00cc0f6e182e0e1d14d325 /edit_assembly.php | |
| parent | 77995206ac8bdbd8129d1daabb02cba599250795 (diff) | |
| download | stock-51195f3ae4cbc9ce3ae6f6054e75a72fdf0a5e32.tar.gz stock-51195f3ae4cbc9ce3ae6f6054e75a72fdf0a5e32.tar.bz2 stock-51195f3ae4cbc9ce3ae6f6054e75a72fdf0a5e32.zip | |
stock: merge stgrp xrefs into kitlocker group at data level; revert stgrp template tag; drop sgGroup stash from component templates
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'edit_assembly.php')
| -rwxr-xr-x | edit_assembly.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/edit_assembly.php b/edit_assembly.php index 812dc7c..a12b979 100755 --- a/edit_assembly.php +++ b/edit_assembly.php @@ -160,6 +160,15 @@ if( $gContent->isValid() ) { } $gContent->loadXrefInfo(); +if( isset( $gContent->mXrefInfo->mGroups['stgrp'] ) ) { + if( isset( $gContent->mXrefInfo->mGroups['kitlocker'] ) ) { + $gContent->mXrefInfo->mGroups['kitlocker']->mXrefs = array_merge( + $gContent->mXrefInfo->mGroups['kitlocker']->mXrefs, + $gContent->mXrefInfo->mGroups['stgrp']->mXrefs + ); + } + unset( $gContent->mXrefInfo->mGroups['stgrp'] ); +} $gBitSmarty->assign( 'gXrefInfo', $gContent->mXrefInfo ); $gContent->invokeServices( 'content_edit_function' ); |
