[rt-users] Another postgres 7.3 "zero is not a string" patch.

Robin Lee Powell rlpowell at digitalkingdom.org
Wed Mar 5 16:12:34 EST 2003


This is in lib/RT/Interface/Web.pm

I'm sure this is horrible coding style, but there you are.

-Robin

-- 
http://www.digitalkingdom.org/~rlpowell/    ***    I'm a *male* Robin.
.i le pamoi velru'e zo'u crepu le plibu taxfu
.i le remoi velru'e zo'u mo .i le cimoi velru'e zo'u ba'e prali .uisai
http://www.lojban.org/   ***   to sa'a cu'u lei pibyta'u cridrnoma toi
-------------- next part --------------
--- Web.pm	2003-03-05 13:10:37.000000000 -0800
+++ Web.pm.orig	2003-03-05 13:10:27.000000000 -0800
@@ -339,7 +339,7 @@
                     CcMessageTo  => $args{ARGSRef}->{'UpdateCc'},
                     BccMessageTo => $args{ARGSRef}->{'UpdateBcc'},
                     MIMEObj      => $Message,
-                    TimeTaken    => ($args{ARGSRef}->{'UpdateTimeWorked'} ? $args{ARGSRef}->{'UpdateTimeWorked'} : 0)
+                    TimeTaken    => $args{ARGSRef}->{'UpdateTimeWorked'}
                 );
                 push ( @{ $args{Actions} }, $Description );
             }
@@ -348,7 +348,7 @@
                     CcMessageTo  => $args{ARGSRef}->{'UpdateCc'},
                     BccMessageTo => $args{ARGSRef}->{'UpdateBcc'},
                     MIMEObj      => $Message,
-                    TimeTaken    => ($args{ARGSRef}->{'UpdateTimeWorked'} ? $args{ARGSRef}->{'UpdateTimeWorked'} : 0)
+                    TimeTaken    => $args{ARGSRef}->{'UpdateTimeWorked'}
                 );
                 push ( @{ $args{Actions} }, $Description );
             }


More information about the rt-users mailing list