Correctly redirect to settings page when not selecting cert file for upload
Fix #5463
This commit is contained in:
parent
e517e642be
commit
513940f4a4
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue