fix propper error reporting

This commit is contained in:
Frank Karlitschek 2012-06-01 16:30:47 +02:00
parent ad6562d14f
commit dcb06393a8
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);