Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed broken DB connection parameter check.

  • Loading branch information...
commit a84efd2b3110649e5b99369f2ab5cc2c847bb486 1 parent de0198b
@davorg authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/Lystyng.pm
View
2  lib/Lystyng.pm
@@ -10,7 +10,7 @@ use Dancer ':syntax';
our $VERSION = '0.0.1';
use Dancer::Plugin::DBIC qw[schema resultset];
-$ENV{LYSTYNG_DB_USER} && $ENV{LYSTYNG_DB_PASS}
+defined $ENV{LYSTYNG_DB_USER} && defined $ENV{LYSTYNG_DB_PASS}
or die 'Must set LYSTYNG_DB_USER and LYSTYNG_DB_PASS';
my $cfg = setting('plugins');
Please sign in to comment.
Something went wrong with that request. Please try again.