summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2009-04-27 23:01:16 +0000
committerivan <ivan>2009-04-27 23:01:16 +0000
commit470172a907f493754063645effa9b3155e9ef775 (patch)
treeb0eafc9ff704900d1f3c0c7a872adabd9e7730ee
parent03f48dbf4e5621efc428a1e7c3bbd64d0f533f29 (diff)
refuse to run w/CGI.pm 3.38. all lenny upgrades will need libcgi-pm-perl removed, suck
-rw-r--r--FS/FS/Mason.pm7
1 files changed, 7 insertions, 0 deletions
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 );