mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 08:44:07 -04:00
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
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