summaryrefslogtreecommitdiff
path: root/edit_component.php
diff options
context:
space:
mode:
Diffstat (limited to 'edit_component.php')
-rwxr-xr-xedit_component.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/edit_component.php b/edit_component.php
index ef2cc8f..03e4dfd 100755
--- a/edit_component.php
+++ b/edit_component.php
@@ -79,6 +79,15 @@ if( !$gContent->isValid() && !empty( $_REQUEST['title'] ) ) {
}
$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 = $gContent->mContentId ? (bool)$gBitDb->getOne(