]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix propper error reporting
authorFrank Karlitschek <frank@owncloud.org>
Fri, 1 Jun 2012 14:30:47 +0000 (16:30 +0200)
committerFrank Karlitschek <frank@owncloud.org>
Fri, 1 Jun 2012 14:30:47 +0000 (16:30 +0200)
lib/setup.php

index 8c2d523121085f1d9cf2b9b92d277672a5478d9d..a096fdbb4cf81554f68f1261b192479d6c661738 100644 (file)
@@ -94,6 +94,7 @@ class OC_Setup {
                                                'error' => 'MySQL username and/or password not valid',
                                                'hint' => 'You need to enter either an existing account or the administrator.'
                                        );
+                                       return($error);
                                }
                                else {
                                        $oldUser=OC_Config::getValue('dbuser', false);