Skip to content

Commit

Permalink
Hide the section for linking custom fields if no custom fields are de…
Browse files Browse the repository at this point in the history
…fined in the

system.


git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@2001 f5dc347c-c33d-0410-90a0-b07cc1902cb9
  • Loading branch information
vboctor committed Feb 23, 2003
1 parent 0708a43 commit 69e4dff
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions manage_proj_edit_page.php
Expand Up @@ -6,7 +6,7 @@
# See the README and LICENSE files for details

# --------------------------------------------------------
# $Id: manage_proj_edit_page.php,v 1.66 2003-02-19 01:04:19 jlatour Exp $
# $Id: manage_proj_edit_page.php,v 1.67 2003-02-23 13:17:42 vboctor Exp $
# --------------------------------------------------------
?>
<?php
Expand Down Expand Up @@ -316,7 +316,8 @@
<?php
# You need either global permissions or project-specific permissions to link
# custom fields
if ( access_has_project_level( config_get( 'custom_field_link_threshold' ), $f_project_id ) ) {
if ( access_has_project_level( config_get( 'custom_field_link_threshold' ), $f_project_id ) &&
( count( custom_field_get_ids() ) > 0 ) ) {
?>
<br />
<div align="center">
Expand Down

0 comments on commit 69e4dff

Please sign in to comment.