diff options
Diffstat (limited to 'view_component.php')
| -rwxr-xr-x | view_component.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/view_component.php b/view_component.php index 765a269..266a3e1 100755 --- a/view_component.php +++ b/view_component.php @@ -35,6 +35,15 @@ if( is_object( $gGallery ) && $gGallery->isCommentable() ) { $gContent->addHit(); $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 ); $isKitlocker = (bool)$gBitDb->getOne( |
