From a1360c523fcb7b2617194232a5b7fc37f5d5b855 Mon Sep 17 00:00:00 2001 From: DariusIII Date: Thu, 19 Apr 2018 21:41:50 +0200 Subject: [PATCH] Change redirect route on site edit submit action --- Changelog | 1 + app/Http/Controllers/Admin/SiteController.php | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Changelog b/Changelog index 036241c27..feaa44a68 100755 --- a/Changelog +++ b/Changelog @@ -1,4 +1,5 @@ 2018-04-19 DariusIII + * Chg: Change redirect route on site edit submit action * Chg: Update admin redirects * Chg: Update ProfileController, fix Sabnzbd constructor call * Chg: Add SharingController diff --git a/app/Http/Controllers/Admin/SiteController.php b/app/Http/Controllers/Admin/SiteController.php index aa5c23665..2f1ac7816 100644 --- a/app/Http/Controllers/Admin/SiteController.php +++ b/app/Http/Controllers/Admin/SiteController.php @@ -58,9 +58,8 @@ class SiteController extends BasePageController if ($error === '') { $site = $ret; - $returnid = $site['id']; - return redirect('admin/site-edit.php?id='.$returnid); + return redirect('admin/site-edit'); } $this->smarty->assign('error', $error);