fix proper error reporting

This commit is contained in:
Frank Karlitschek 2012-06-01 16:33:24 +02:00
parent aa88ec81c7
commit aa9824d35b
1 changed files with 1 additions and 0 deletions

View 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);