summaryrefslogtreecommitdiff
path: root/rt/lib/RT
diff options
context:
space:
mode:
Diffstat (limited to 'rt/lib/RT')
-rw-r--r--rt/lib/RT/Interface/Web_Vendor.pm21
1 files changed, 11 insertions, 10 deletions
diff --git a/rt/lib/RT/Interface/Web_Vendor.pm b/rt/lib/RT/Interface/Web_Vendor.pm
index a5f5b8827..7a4804bf9 100644
--- a/rt/lib/RT/Interface/Web_Vendor.pm
+++ b/rt/lib/RT/Interface/Web_Vendor.pm
@@ -257,16 +257,17 @@ sub ProcessTicketBasics {
WillResolve
);
- # the UI for editing WillResolve through Ticket Basics should allow
- # setting it to null
- my $to_date = delete($ARGSRef->{'WillResolve_Date'});
- my $DateObj = RT::Date->new($session{'CurrentUser'});
- if ( $to_date ) {
- $DateObj->Set(Format => 'unknown', Value => $to_date);
- } else {
- $DateObj->Set(Value => 0);
- }
- $ARGSRef->{'WillResolve'} = $DateObj->ISO;
+# causes endless redirect loops and "WillResolve changed from Not set to Not set" on ticket view?
+# # the UI for editing WillResolve through Ticket Basics should allow
+# # setting it to null
+# my $to_date = delete($ARGSRef->{'WillResolve_Date'});
+# my $DateObj = RT::Date->new($session{'CurrentUser'});
+# if ( $to_date ) {
+# $DateObj->Set(Format => 'unknown', Value => $to_date);
+# } else {
+# $DateObj->Set(Value => 0);
+# }
+# $ARGSRef->{'WillResolve'} = $DateObj->ISO;
if ( $ARGSRef->{'Queue'} and ( $ARGSRef->{'Queue'} !~ /^(\d+)$/ ) ) {
my $tempqueue = RT::Queue->new($RT::SystemUser);