]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
CS 2262/head
authorJeremy Benoist <jeremy.benoist@gmail.com>
Sat, 3 Sep 2016 09:45:59 +0000 (11:45 +0200)
committerJeremy Benoist <jeremy.benoist@gmail.com>
Sat, 3 Sep 2016 09:45:59 +0000 (11:45 +0200)
src/Wallabag/CoreBundle/Command/InstallCommand.php

index cd81614905307c16658a71a8948ae05c437de342..035eb865575a038bd8c338c5635178c79bc702ac 100644 (file)
@@ -96,7 +96,7 @@ class InstallCommand extends ContainerAwareCommand
         try {
             $this->getContainer()->get('doctrine')->getManager()->getConnection()->connect();
         } catch (\Exception $e) {
-            if (false === strpos($e->getMessage(), "Unknown database")) {
+            if (false === strpos($e->getMessage(), 'Unknown database')) {
                 $fulfilled = false;
                 $status = '<error>ERROR!</error>';
                 $help = 'Can\'t connect to the database: '.$e->getMessage();