<?php
# ---------------------------------------------------------------------
# truc is a tool for requirement and use case tracking
# Copyright (C) 2006 ASDIS - http://sf.net/projects/truc
#
# (rth) Initial truc version based on rth
#       Copyright (C) 2005 George Holbrook - rth@lists.sourceforge.net
#
# This program is distributed under the terms and conditions of the GPL
# See the README and LICENSE files for details
#----------------------------------------------------------------------

include"./api/include_api.php";
auth_authenticate_user();

$test_id			= $_GET['test_id'];
$tst_version_id	= $_GET['tst_version_id'];
$redirect_page 		= "test_detail_page.php?tab=4";

test_make_active_version( $test_id, $tst_version_id );

html_print_operation_successful( "add_test_version_page", $redirect_page );
?>