Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

* Fixed bug which looked for msql or mysql DBD driver and didn't set an

  appropriate default if not found


git-svn-id: svn://svn.tt2.org/tt/Template2/trunk@167 d5a88997-0a34-4036-9ed2-92fb5d660d91
  • Loading branch information...
commit 30480bd94c23d1ba34af84546d55a55464e2a302 1 parent 7e63240
@abw authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  Makefile.PL
View
3  Makefile.PL
@@ -996,7 +996,8 @@ sub dbi_config {
my @drivers = DBI->available_drivers();
local $" = ', ';
- my $default = (grep(/m.?sql/i, @drivers))[0];
+ my $default = (grep(/m.?sql/i, @drivers))[0]
+ || $drivers[0] || '';
message(<<EOF);
Please sign in to comment.
Something went wrong with that request. Please try again.