summaryrefslogtreecommitdiff
path: root/add_xref.php
diff options
context:
space:
mode:
Diffstat (limited to 'add_xref.php')
-rw-r--r--add_xref.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/add_xref.php b/add_xref.php
index 56ba6d5..89c7908 100644
--- a/add_xref.php
+++ b/add_xref.php
@@ -34,11 +34,11 @@ if( !empty( $_REQUEST['fAddXref'] ) ) {
}
}
-$xref_type = (int)( $_REQUEST['xref_type'] ?? 1 );
-$xrefTypeList = $gContent->getXrefTypeList( $xref_type );
+$group = (int)( $_REQUEST['group'] ?? 1 );
+$xrefTypeList = $gContent->getXrefTypeList( $group );
$gBitSmarty->assign( 'gContent', $gContent );
-$gBitSmarty->assign( 'xref_type', $xref_type );
+$gBitSmarty->assign( 'group', $group );
$gBitSmarty->assign( 'xrefTypeList', $xrefTypeList );
$gBitSmarty->assign( 'errors', $gContent->mErrors );