Skip to content

Commit

Permalink
Issue #10708: Relationship graphs broken after refactoring of bug_vie…
Browse files Browse the repository at this point in the history
…w_inc.php

- Fixed the access_denied issue in relationship graphs.
- Fixed the access_denied issue in bug reminders.

I don't have the relationship graphs setup, so won't mark the issue as resolved yet until dhx verifies it.

Signed-off-by: David Hicks <hickseydr@optusnet.com.au>
  • Loading branch information
vboctor authored and davidhicks committed Feb 18, 2010
1 parent 3a23424 commit 633799c
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 5 deletions.
8 changes: 8 additions & 0 deletions bug_relationship_graph.php
Expand Up @@ -163,5 +163,13 @@
<br />

<?php
define ( 'BUG_VIEW_INC_ALLOW', true );
$_GET['id'] = $f_bug_id;
$tpl_fields_config_option = 'bug_view_page_fields';
$tpl_show_page_header = false;
$tpl_force_readonly = true;
$tpl_mantis_dir = dirname( __FILE__ ) . DIRECTORY_SEPARATOR;
$tpl_file = __FILE__;

include( 'bug_view_inc.php' );
html_page_bottom();
13 changes: 9 additions & 4 deletions bug_reminder_page.php
Expand Up @@ -107,8 +107,13 @@
</div>

<br />
<?php include( dirname( __FILE__ ) . DIRECTORY_SEPARATOR . 'bug_view_inc.php' ) ?>
<?php include( dirname( __FILE__ ) . DIRECTORY_SEPARATOR . 'bugnote_view_inc.php' ) ?>

<?php
html_page_bottom( __FILE__ );
define ( 'BUG_VIEW_INC_ALLOW', true );
$_GET['id'] = $f_bug_id;
$tpl_fields_config_option = 'bug_view_page_fields';
$tpl_show_page_header = false;
$tpl_force_readonly = true;
$tpl_mantis_dir = dirname( __FILE__ ) . DIRECTORY_SEPARATOR;
$tpl_file = __FILE__;

include( dirname( __FILE__ ) . DIRECTORY_SEPARATOR . 'bug_view_inc.php' );
1 change: 0 additions & 1 deletion view.php
Expand Up @@ -25,7 +25,6 @@

define ( 'BUG_VIEW_INC_ALLOW', true );

$tpl_advanced = true;
$tpl_file = __FILE__;
$tpl_mantis_dir = dirname( __FILE__ ) . DIRECTORY_SEPARATOR;
$tpl_show_page_header = true;
Expand Down

0 comments on commit 633799c

Please sign in to comment.