Skip to content

Commit

Permalink
fix for 0005918: Update issue Pen Icon always displayed in my_view_pa…
Browse files Browse the repository at this point in the history
…ge even if not allowed

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@3664 f5dc347c-c33d-0410-90a0-b07cc1902cb9
  • Loading branch information
thraxisp committed Jul 12, 2005
1 parent 1187588 commit 1c666bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/my_view_inc.php
Expand Up @@ -6,7 +6,7 @@
# See the README and LICENSE files for details

# --------------------------------------------------------
# $Id: my_view_inc.php,v 1.14 2005-04-22 21:34:04 prichards Exp $
# $Id: my_view_inc.php,v 1.15 2005-07-12 13:54:23 thraxisp Exp $
# --------------------------------------------------------
?>
<?php
Expand Down Expand Up @@ -197,7 +197,7 @@

echo '<br />';

if ( access_has_bug_level( $t_update_bug_threshold, $v_id ) ) {
if ( !bug_is_readonly( $v_id ) && access_has_bug_level( $t_update_bug_threshold, $v_id ) ) {
echo '<a href="' . string_get_bug_update_url( $v_id ) . '"><img border="0" src="' . $t_icon_path . 'update.png' . '" alt="' . lang_get( 'update_bug_button' ) . '" /></a>';
}
print_status_icon( $v_priority );
Expand Down

0 comments on commit 1c666bf

Please sign in to comment.