Skip to content

Commit 2f8b78e

Browse files
committed
udate to mantisbt 1.3.15
1 parent f1d4fad commit 2f8b78e

File tree

5 files changed

+11
-2
lines changed

5 files changed

+11
-2
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,5 @@ springpw.php
88
/mantis/api
99
/mantis/admin
1010

11+
# uploads
12+
/uploads

mantis/adm_config_report.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ function print_config_value_as_string( $p_type, $p_value, $p_for_display = true
130130
if( $p_for_display ) {
131131
echo '<pre id="adm-config-value">' . string_attribute( $t_output ) . '</pre>';
132132
} else {
133-
echo $t_output;
133+
echo string_attribute( $t_output );
134134
}
135135
}
136136

mantis/bug_report.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,10 @@
8282
$f_master_bug_id = gpc_get_int( 'm_id', 0 );
8383
if( $f_master_bug_id > 0 ) {
8484
bug_ensure_exists( $f_master_bug_id );
85+
86+
# User can view the master bug
87+
access_ensure_bug_level( config_get( 'view_bug_threshold' ), $f_master_bug_id );
88+
8589
if( bug_is_readonly( $f_master_bug_id ) ) {
8690
error_parameters( $f_master_bug_id );
8791
trigger_error( ERROR_BUG_READ_ONLY_ACTION_DENIED, ERROR );

mantis/bug_report_page.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,9 @@
8989
trigger_error( ERROR_BUG_READ_ONLY_ACTION_DENIED, ERROR );
9090
}
9191

92+
# User can view the master bug
93+
access_ensure_bug_level( config_get( 'view_bug_threshold' ), $f_master_bug_id );
94+
9295
$t_bug = bug_get( $f_master_bug_id, true );
9396

9497
#@@@ (thraxisp) Note that the master bug is cloned into the same project as the master, independent of

mantis/core/constant_inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
/**
2222
* Mantis Version
2323
*/
24-
define( 'MANTIS_VERSION', '1.3.12' );
24+
define( 'MANTIS_VERSION', '1.3.15' );
2525
define( 'FILTER_VERSION', 'v9' );
2626

2727
# --- constants -------------------

0 commit comments

Comments
 (0)