Skip to content

Commit

Permalink
database name when there is no uri has been fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
ArthurHlt authored Dec 13, 2016
1 parent 3bf8372 commit bd46775
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CfCommunity/CfHelper/Connectors/DatabaseConnector.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public function parseDbFromService(Service $service)
$type = $this->getDbTypeFromServiceName($service->getValue('.*(type).*'));
}
if (empty($toReturn['path'])) {
$database = $service->getValue('.*(name|database|db).*');
$database = $service->getValue('.*(database|db).*');
} else {
$database = $toReturn['path'];
}
Expand Down

0 comments on commit bd46775

Please sign in to comment.