Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix time tracking without notes
Fixes #22326
  • Loading branch information
vboctor committed Feb 19, 2017
1 parent a85b0b9 commit ee7bd20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bugnote_add.php
Expand Up @@ -95,7 +95,7 @@
$t_file_infos = array();
}

if( is_blank( $f_bugnote_text ) ) {
if( is_blank( $f_bugnote_text ) && helper_duration_to_minutes( $f_time_tracking ) == 0 ) {
if( $f_files === null ) {
error_parameters( lang_get( 'bugnote' ) );
trigger_error( ERROR_EMPTY_FIELD, ERROR );
Expand Down

0 comments on commit ee7bd20

Please sign in to comment.