Skip to content
Snippets Groups Projects
Commit c2a46300 authored by Kevin Falcone's avatar Kevin Falcone
Browse files

Warnings avoidance

parent b2021989
No related branches found
No related tags found
No related merge requests found
......@@ -118,7 +118,7 @@ my $COLUMN_MAP = {
title => 'Time Worked', # loc
value => sub {
return $_[0]->TimeTaken if $_[0]->TimeTaken;
if ( $_[0]->Field eq 'TimeWorked' ) {
if ( $_[0]->Field && $_[0]->Field eq 'TimeWorked' ) {
return ( $_[0]->NewValue - $_[0]->OldValue );
}
return;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment