contao / installation-bundle

[READ-ONLY] Contao Installation Bundle
GNU Lesser General Public License v3.0
8 stars 9 forks source link

Fix possible null parameter #75

Closed bytehead closed 6 years ago

bytehead commented 6 years ago

Before you have set all DB parameters in the install tool, $name is null and you get following error:

Type error: Argument 1 passed to Contao\InstallationBundle\InstallTool::canConnectToDatabase() must be of the type string, null given

leofeyer commented 6 years ago

Thank you @bytehead.

bytehead commented 6 years ago

You're welcome 👍