Location: PHPKode > projects > TRUC - Tracking Requirements and Use Cases > truc_0.12.0/project_edit_bug_component_action.php
<?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 - hide@address.com
#
# 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();

$redirect_on_success	= 'project_manage_bug_component_page.php';
$redirect_on_error		= 'project_edit_bug_component_page.php';
$proj_properties		= session_set_properties("project_manage", $_POST);

session_validate_form_set($_POST, $redirect_on_error);

project_edit_bug_component( $_POST['project_id'],
						    $_POST['bug_component_id'],
							session_validate_form_get_field('bug_component_required') );

session_validate_form_reset();

html_print_operation_successful( "edit_bug_component_page", $redirect_on_success );
?>
Return current item: TRUC - Tracking Requirements and Use Cases