Skip to content

Commit

Permalink
Fix #9728: Project ID was not passed when editing categories.
Browse files Browse the repository at this point in the history
git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@5709 f5dc347c-c33d-0410-90a0-b07cc1902cb9
  • Loading branch information
amyreese committed Oct 22, 2008
1 parent e6aa211 commit 67313fa
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions manage_proj_cat_edit_page.php
Expand Up @@ -32,8 +32,8 @@

auth_reauthenticate();

$f_category_id = gpc_get_string( 'id' );
$f_project_id = gpc_get_string( 'project_id' );
$f_category_id = gpc_get_int( 'id' );
$f_project_id = gpc_get_int( 'project_id' );

access_ensure_project_level( config_get( 'manage_project_threshold' ), $f_project_id );

Expand All @@ -52,6 +52,7 @@
<div align="center">
<form method="post" action="manage_proj_cat_update.php">
<?php echo form_security_field( 'manage_proj_cat_update' ) ?>
<input type="hidden" name="project_id" value="<?php echo $f_project_id ?>"/>
<table class="width50" cellspacing="1">
<tr>
<td class="form-title" colspan="2">
Expand Down

0 comments on commit 67313fa

Please sign in to comment.