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

Jesse Vincent jesse at bestpractical.com
Wed Mar 5 18:08:09 EST 2003


FWIW, 
	There are probably a dozen or more places where RT 2.0 would
	need to be patched for this. RT 2.1/3 should already be fixed.

	-j


On Wed, Mar 05, 2003 at 01:12:34PM -0800, Robin Lee Powell wrote:
> 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

> --- 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 );
>              }


-- 
http://www.bestpractical.com/rt  -- Trouble Ticketing. Free.



More information about the rt-users mailing list