Forward port paydriver upgrade bug fix. Undef was not handled.

This commit is contained in:
Colin Kuskie 2009-03-13 20:30:08 +00:00
parent f63b9ea5b9
commit 19368e5309
2 changed files with 4 additions and 5 deletions

View file

@ -8,11 +8,10 @@
- fixed #9892: Typo in "Default Gallery View Album" Template [TEMPLATE]
- fixed #9826: Inbox messages sent by email don't include from username
- rfe: added Asset History browser (perlDreamer Consulting, LLC and Plain Black)
- fixed: Commit w/ approval workflow can crash under race conditions
resulting in permanently locked content (Martin Kamerbeek / Oqapi )
- fixed: Each textarea inserts identical JS that should be inserted only once
( Martin Kamerbeek / Oqapi )
- fixed: Commit w/ approval workflow can crash under race conditions resulting in permanently locked content (Martin Kamerbeek / Oqapi )
- fixed: Each textarea inserts identical JS that should be inserted only once ( Martin Kamerbeek / Oqapi )
- added: Vendor payout system ( Martin Kamerbeek / Oqapi )
- fixed #9942: Upgrade script fails with ITransact driver (William McKee, Knowmad Technologies)
7.6.14
- fixed: IE6 shows Admin Bar over Asset Manager

View file

@ -51,7 +51,7 @@ sub setDefaultItransactCredentialTemplate {
my $drivers = $pay->getPaymentGateways($session);
DRIVER: foreach my $driver (@{ $drivers }) {
##Only work on ITransact drivers
next DRIVER unless $driver->className eq "WebGUI::Shop::PayDriver::ITransact";
next DRIVER unless $driver && $driver->className eq "WebGUI::Shop::PayDriver::ITransact";
my $properties = $driver->get();
##And only ones that don't already have a template set
next DRIVER if $properties->{credentialsTemplateId};