From: ivan Date: Mon, 27 Apr 2009 23:01:16 +0000 (+0000) Subject: refuse to run w/CGI.pm 3.38. all lenny upgrades will need libcgi-pm-perl removed... X-Git-Tag: freeside_1_9_1^2~458 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=470172a907f493754063645effa9b3155e9ef775;p=freeside.git refuse to run w/CGI.pm 3.38. all lenny upgrades will need libcgi-pm-perl removed, suck --- diff --git a/FS/FS/Mason.pm b/FS/FS/Mason.pm index bcdc2fe8e..a567236c9 100644 --- a/FS/FS/Mason.pm +++ b/FS/FS/Mason.pm @@ -38,6 +38,13 @@ Initializes the Mason environment, loads all Freeside and RT libraries, etc. use strict; use vars qw( %session ); use CGI 3.29 qw(-private_tempfiles); #3.29 to fix RT attachment problems + + #breaks quick payment entry + #http://rt.cpan.org/Public/Bug/Display.html?id=37365 + die "CGI.pm v3.38 is broken, use any other version >= 3.29". + " (Debian 5.0? aptitude remove ligcgi-pm-perl)" + if $CGI::VERSION == 3.38; + #use CGI::Carp qw(fatalsToBrowser); use CGI::Cookie; use List::Util qw( max min );