From fca1328794fd672f64030564db99688471af64aa Mon Sep 17 00:00:00 2001 From: Thomas Mudrunka Date: Fri, 31 May 2013 07:14:19 +0200 Subject: [PATCH] Lepsi redirect --- assistants/bank.inc.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/assistants/bank.inc.php b/assistants/bank.inc.php index 73ea875..e1b8054 100644 --- a/assistants/bank.inc.php +++ b/assistants/bank.inc.php @@ -81,13 +81,13 @@ if(isset($bank_json_only) && $bank_json_only) { if(isset($_POST['create_account'])) { bank_add_account($this, $_POST['account_name']); - $this->post_redirect_get("$URL_INTERNAL","Účet byl vytvořen"); + $this->post_redirect_get("$URL_INTERNAL/admin","Účet byl vytvořen"); } if(isset($_POST['rename_account'])) { if(bank_rename_account($this, $_POST['account_old'], $_POST['account_new'])) { - $this->post_redirect_get("$URL_INTERNAL","Účet byl upraven"); + $this->post_redirect_get("$URL_INTERNAL/admin","Účet byl upraven"); } else { - $this->post_redirect_get("$URL_INTERNAL","Takový účet již existuje!", false); + $this->post_redirect_get("$URL_INTERNAL/admin","Takový účet již existuje!", false); } } if(isset($_POST['transaction'])) { -- 2.30.2