Skip to content

Commit

Permalink
Fixed a problem where resolving an issue causing "issue 0 not found".
Browse files Browse the repository at this point in the history
git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@2716 f5dc347c-c33d-0410-90a0-b07cc1902cb9
  • Loading branch information
vboctor committed Jul 18, 2004
1 parent 3daa6ec commit 89e1e29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/bug_api.php
Expand Up @@ -6,7 +6,7 @@
# See the README and LICENSE files for details

# --------------------------------------------------------
# $Id: bug_api.php,v 1.71 2004-07-18 00:07:44 vboctor Exp $
# $Id: bug_api.php,v 1.72 2004-07-18 13:59:15 vboctor Exp $
# --------------------------------------------------------

$t_core_dir = dirname( __FILE__ ).DIRECTORY_SEPARATOR;
Expand Down Expand Up @@ -1108,7 +1108,7 @@ function bug_close( $p_bug_id, $p_bugnote_text = '' ) {
function bug_resolve( $p_bug_id, $p_resolution, $p_fixed_in_version = '', $p_bugnote_text = '', $p_duplicate_id = null, $p_handler_id = null ) {
$p_bugnote_text = trim( $p_bugnote_text );

if( !is_blank( $p_duplicate_id ) ) {
if( !is_blank( $p_duplicate_id ) && ( $p_duplicate_id != 0 ) ) {
# MASC RELATIONSHIP

# the related bug exists...
Expand Down

0 comments on commit 89e1e29

Please sign in to comment.