projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RT 4.0.19
[freeside.git]
/
rt
/
lib
/
RT
/
Ticket.pm
diff --git
a/rt/lib/RT/Ticket.pm
b/rt/lib/RT/Ticket.pm
index
6165378
..
6a8b40c
100755
(executable)
--- a/
rt/lib/RT/Ticket.pm
+++ b/
rt/lib/RT/Ticket.pm
@@
-2,7
+2,7
@@
#
# COPYRIGHT:
#
#
# COPYRIGHT:
#
-# This software is Copyright (c) 1996-201
3
Best Practical Solutions, LLC
+# This software is Copyright (c) 1996-201
4
Best Practical Solutions, LLC
# <sales@bestpractical.com>
#
# (Except where explicitly superseded by other copyright notices)
# <sales@bestpractical.com>
#
# (Except where explicitly superseded by other copyright notices)
@@
-642,7
+642,7
@@
sub Create {
}
}
}
}
- if ( $obj && $obj->Status eq 'deleted' ) {
+ if ( $obj &&
lc
$obj->Status eq 'deleted' ) {
push @non_fatal_errors,
$self->loc("Linking. Can't link to a deleted ticket");
next;
push @non_fatal_errors,
$self->loc("Linking. Can't link to a deleted ticket");
next;
@@
-2681,7
+2681,7
@@
sub AddLink {
}
return ( 0, "Can't link to a deleted ticket" )
}
return ( 0, "Can't link to a deleted ticket" )
- if $other_ticket && $other_ticket->Status eq 'deleted';
+ if $other_ticket &&
lc
$other_ticket->Status eq 'deleted';
return $self->_AddLink(%args);
}
return $self->_AddLink(%args);
}