X-Git-Url: https://git.decadent.org.uk/gitweb/?p=maypole.git;a=blobdiff_plain;f=lib%2FMaypole%2FModel%2FCDBI.pm;h=5d3bebec2b39ae4f9e77ac61040c937e389e12c8;hp=a200fc5851d174dffb6e2b86dff92311ac9fedda;hb=43c32b954aa111a98b2d886f0f9c4cf18fe8dd3c;hpb=ef5744f35f1e0f37a16d945b9ba8c0a5ed76d296 diff --git a/lib/Maypole/Model/CDBI.pm b/lib/Maypole/Model/CDBI.pm index a200fc5..5d3bebe 100644 --- a/lib/Maypole/Model/CDBI.pm +++ b/lib/Maypole/Model/CDBI.pm @@ -36,6 +36,8 @@ use Class::DBI::Pager; use Lingua::EN::Inflect::Number qw(to_PL); use attributes (); +use Data::Dumper; + ############################################################################### # Helper methods @@ -112,7 +114,8 @@ sub _do_update_or_create { my $fatal; my $creating = 0; - my $h = CGI::Untaint::Maypole->new( %{$r->params} ); + + my $h = CGI::Untaint->new( %{$r->params} ); # update or create if ($obj) {