logo       


mantisbt/core relationship_api.php,1.38,1.39: msg#00022

Subject: mantisbt/core relationship_api.php,1.38,1.39
Update of /cvsroot/mantisbt/mantisbt/core
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv15356/core

Modified Files:
        relationship_api.php 
Log Message:
Fixed #6773: When cloning an issue, cannot make it "not related" to parent 
issue.

Index: relationship_api.php
===================================================================
RCS file: /cvsroot/mantisbt/mantisbt/core/relationship_api.php,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -d -r1.38 -r1.39
--- relationship_api.php        15 Aug 2006 07:11:23 -0000      1.38
+++ relationship_api.php        23 Jun 2007 04:25:43 -0000      1.39
@@ -682,14 +682,21 @@
 
        # --------------------
        # print HTML relationship listbox
-       function relationship_list_box( $p_default_rel_type = -1, 
$p_select_name = "rel_type", $p_include_any = false) {
+       function relationship_list_box( $p_default_rel_type = -1, 
$p_select_name = "rel_type", $p_include_any = false, $p_include_none = false ) {
 ?>
 <select name="<?php echo $p_select_name?>">
-<?php if ($p_include_any) { ?>
+<?php if ( $p_include_any ) { ?>
 <option value="-1" <?php echo ( $p_default_rel_type == -1 ? ' 
selected="selected"' : '' ) ?>>[<?php echo lang_get( 'any' ) ?>]</option>
 <?php
     }
+
+       if ( $p_include_none ) { ?>
+<option value="-2" <?php echo ( $p_default_rel_type == -2 ? ' 
selected="selected"' : '' ) ?>>[<?php echo lang_get( 'none' ) ?>]</option>
+<?php
+    }
 ?>
+$p_include_none
+
 <option value="<?php echo BUG_RELATED ?>"<?php echo ( $p_default_rel_type == 
BUG_RELATED ? ' selected="selected"' : '' ) ?>><?php echo lang_get( 
'related_to' ) ?></option>
 <option value="<?php echo BUG_DEPENDANT ?>"<?php echo ( $p_default_rel_type == 
BUG_DEPENDANT ? ' selected="selected"' : '' ) ?>><?php echo lang_get( 
'dependant_on' ) ?></option>
 <option value="<?php echo BUG_BLOCKS ?>" <?php echo ( $p_default_rel_type == 
BUG_BLOCKS ? ' selected="selected"' : '' ) ?>><?php echo lang_get( 'blocks' ) 
?></option>


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/


Ruby Jobs
Java Jobs
Jobs in California
more...
what
job title, keywords
where
city, state, zip
jobs by job search
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
encryption.gpg....    ietf.rfc822/199...    freebsd.devel.i...    lang.haskell.li...    mail.squirrelma...    web.zope.plone....    yellowdog.gener...    text.xml.xalan....    recreation.phot...    kde.devel.educa...    hardware.bus.ca...    printing.ghosts...    voip.peering/20...    assembly/2006-0...    org.user-groups...    culture.interne...    network.i2p/200...    boot-loaders.ya...    xfree86.render/...    qnx.openqnx.dev...    jakarta.velocit...    user-groups.pal...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe