Merge pull request #7290 from owncloud/issue/5463
Correctly redirect to settings page when not selecting cert file for upload
This commit is contained in:
commit
d1b1ad0813
|
@ -4,7 +4,7 @@ OCP\JSON::checkAppEnabled('files_external');
|
|||
OCP\JSON::callCheck();
|
||||
|
||||
if ( ! ($filename = $_FILES['rootcert_import']['name']) ) {
|
||||
header("Location: settings/personal.php");
|
||||
header('Location:' . OCP\Util::linkToRoute( "settings_personal" ));
|
||||
exit;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue