From: Glenn H. <thr...@us...> - 2005-08-10 14:20:27
|
Update of /cvsroot/mantisbt/mantisbt In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18177 Modified Files: manage_proj_create_page.php Log Message: fix for 0006100: Creating a new project shows "Create New Subproject" page Index: manage_proj_create_page.php =================================================================== RCS file: /cvsroot/mantisbt/mantisbt/manage_proj_create_page.php,v retrieving revision 1.10 retrieving revision 1.11 diff -u -d -r1.10 -r1.11 --- manage_proj_create_page.php 13 Jul 2005 20:45:01 -0000 1.10 +++ manage_proj_create_page.php 10 Aug 2005 14:20:15 -0000 1.11 @@ -19,13 +19,16 @@ <?php print_manage_menu( 'manage_proj_create_page.php' ) ?> <?php - $f_parent_id = gpc_get_int( 'parent_id', null ); + $f_parent_id = gpc_get( 'parent_id', null ); ?> <br /> <div align="center"> <form method="post" action="manage_proj_create.php"> -<?php if ( null !== $f_parent_id ) { ?> +<?php + if ( null !== $f_parent_id ) { + $f_parent_id = (int) $f_parent_id; +?> <input type="hidden" name="parent_id" value="<?php echo $f_parent_id ?>"> <?php } ?> <table class="width75" cellspacing="1"> |