View Issue Details

IDProjectCategoryView StatusLast Update
0026575mantisbtplug-inspublic2020-03-15 15:23
Reportersadovsf Assigned Toatrol  
PriorityhighSeveritytrivialReproducibilityalways
Status closedResolutionfixed 
Product Version2.23.0 
Target Version2.23.1Fixed in Version2.23.1 
Summary0026575: When calling bug_assign function it auto creates empty note
Description

After update of mantis when bug_assign is called on php side it automatically creates empty note although even comment inside function states that it only creates note when some is supplied. Maybe missing if?

# Add bugnote if supplied ignore false return
if ( ! is_blank($p_bugnote_text) ) {
    $t_bugnote_id = bugnote_add( $p_bug_id, $p_bugnote_text, 0, $p_bugnote_private, 0, '', null, false );
    bugnote_process_mentions( $p_bug_id, $t_bugnote_id, $p_bugnote_text );
}
TagsNo tags attached.

Relationships

related to 0026570 closedatrol Assigning bug from group action creates empty bugnote 

Activities

Related Changesets

MantisBT: master 8b34e48c

2020-01-08 01:26

atrol


Details Diff
Avoid blank notes on group assign action

Fixes 0026570
Fixes 0026575
Affected Issues
0026570, 0026575
mod - core/bug_api.php Diff File

MantisBT: master-2.23 6b9f4245

2020-01-08 01:26

atrol

Committer: vboctor


Details Diff
Avoid blank notes on group assign action

Fixes 0026570
Fixes 0026575
Affected Issues
0026570, 0026575
mod - core/bug_api.php Diff File