Skip to content

Commit

Permalink
Fixed #9322: Port of 0009321: Users can get title and status of issue…
Browse files Browse the repository at this point in the history
…s that they don't have access to.

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@5383 f5dc347c-c33d-0410-90a0-b07cc1902cb9
  • Loading branch information
vboctor committed Jul 1, 2008
1 parent 9246296 commit 4a8ddda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/string_api.php
Expand Up @@ -302,7 +302,7 @@ function string_process_bug_link( $p_string, $p_include_anchor = true, $p_detail
if ( !isset( $string_process_bug_link_callback[$p_include_anchor][$p_detail_info][$p_fqdn] ) ) {
if ($p_include_anchor) {
$string_process_bug_link_callback[$p_include_anchor][$p_detail_info][$p_fqdn] = create_function('$p_array','
if (bug_exists( (int)$p_array[2] ) ) {
if ( bug_exists( (int)$p_array[2] ) && access_has_bug_level( VIEWER, (int)$p_array[2] ) ) {
return $p_array[1] . string_get_bug_view_link( (int)$p_array[2], null, ' . ($p_detail_info ? 'true' : 'false') . ', ' . ($p_fqdn ? 'true' : 'false') . ');
} else {
return $p_array[0];
Expand Down

0 comments on commit 4a8ddda

Please sign in to comment.