Commit 0c4f49d1 authored by Jens Segers's avatar Jens Segers

Add back not empty check, fixes #753

parent 9baab586
......@@ -137,10 +137,10 @@ class Connection extends \Illuminate\Database\Connection
}
// Check if the credentials are not already set in the options
if (!isset($options['username']) && isset($config['username'])) {
if (!isset($options['username']) && !empty($config['username'])) {
$options['username'] = $config['username'];
}
if (!isset($options['password']) && isset($config['password'])) {
if (!isset($options['password']) && !empty($config['password'])) {
$options['password'] = $config['password'];
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment