Lepsi redirect
authorThomas Mudrunka <tomas@mudrunka.cz>
Fri, 31 May 2013 05:14:19 +0000 (07:14 +0200)
committerThomas Mudrunka <tomas@mudrunka.cz>
Fri, 31 May 2013 05:14:19 +0000 (07:14 +0200)
assistants/bank.inc.php

index 73ea875d22a30af1b776fd8ead47d4defcd285e4..e1b80541129674b2396a0405857b7cab2cfa1fba 100644 (file)
@@ -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'])) {
This page took 0.174043 seconds and 4 git commands to generate.