From ddd438241495697a59ce9a13eaf03b6f61c5f12a Mon Sep 17 00:00:00 2001 From: Aaron Trevena Date: Tue, 5 Jul 2005 08:28:53 +0000 Subject: [PATCH] database_setup fix applied git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@344 48953598-375a-da11-a14b-00016c27c3ee --- Changes | 3 ++- lib/Maypole/Model/CDBI.pm | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Changes b/Changes index 4c0ff4a..1791765 100644 --- a/Changes +++ b/Changes @@ -7,7 +7,8 @@ For information about current developments and future releases, see: Small fix to templates/factory/frontpage ( http://rt.cpan.org/NoAuth/Bug.html?id=11236 ) MasonX support in Maypole::Application ( https://rt.cpan.org/NoAuth/Bug.html?id=12383 ) Maypole::Model::CDBI::Plain / Maypole Config issue ( http://rt.cpan.org/NoAuth/Bug.html?id=11530 ) - Repeat Submission detection support + Repeat Submission detection support ( Bug #6500 ) + Fix to setup_database in Maypole::Model::CDBI ( Bug #12384 ) Additional Requirements : Digest::MD5 diff --git a/lib/Maypole/Model/CDBI.pm b/lib/Maypole/Model/CDBI.pm index a02f36f..8904a42 100644 --- a/lib/Maypole/Model/CDBI.pm +++ b/lib/Maypole/Model/CDBI.pm @@ -236,7 +236,7 @@ sub setup_database { dsn => $dsn, user => $u, password => $p, - options => $opts, + %$opts, ) ); $config->{classes} = [ $config->{loader}->classes ]; -- 2.39.5