[Rt-commit] r6186 - in rt/branches/3.7-EXPERIMENTAL: .
ruz at bestpractical.com
ruz at bestpractical.com
Wed Oct 11 17:23:23 EDT 2006
Author: ruz
Date: Wed Oct 11 17:23:21 2006
New Revision: 6186
Modified:
rt/branches/3.7-EXPERIMENTAL/ (props changed)
rt/branches/3.7-EXPERIMENTAL/lib/RT/Ticket_Overlay.pm
Log:
r3927 at cubic-pc: cubic | 2006-10-12 01:01:34 +0400
* $time is not integer so we shouldn't compare it with zero
Modified: rt/branches/3.7-EXPERIMENTAL/lib/RT/Ticket_Overlay.pm
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/lib/RT/Ticket_Overlay.pm (original)
+++ rt/branches/3.7-EXPERIMENTAL/lib/RT/Ticket_Overlay.pm Wed Oct 11 17:23:21 2006
@@ -2134,7 +2134,7 @@
#We create a date object to catch date weirdness
my $time_obj = new RT::Date( $self->CurrentUser() );
- if ( $time != 0 ) {
+ if ( $time ) {
$time_obj->Set( Format => 'ISO', Value => $time );
}
else {
More information about the Rt-commit
mailing list