diff options
author | Michael Hamann <michael@content-space.de> | 2008-09-01 14:08:12 +0200 |
---|---|---|
committer | Michael Hamann <michael@content-space.de> | 2008-09-01 14:08:12 +0200 |
commit | 46c0ed7427c2ff2f45d7ec1a61cfb3b3dd92c914 (patch) | |
tree | 63bd8a86063e0ad676d11015c130d05d080e30d6 | |
parent | 7dee3468166de1bcaaf6062abb2ad20fedcea47c (diff) | |
download | rpg-46c0ed7427c2ff2f45d7ec1a61cfb3b3dd92c914.tar.gz rpg-46c0ed7427c2ff2f45d7ec1a61cfb3b3dd92c914.tar.bz2 |
No more redirect on do
darcs-hash:20080901120812-fdd0b-7082d4c264f665899f56438c0d0a64137d83b3a1.gz
-rw-r--r-- | inc/actions.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/actions.php b/inc/actions.php index 41cad5c00..2faf8bfca 100644 --- a/inc/actions.php +++ b/inc/actions.php @@ -129,8 +129,8 @@ function act_dispatch(){ $evt->advise_after(); unset($evt); - // when action 'show' and POST, do a redirect - if($ACT == 'show' && strtolower($_SERVER['REQUEST_METHOD']) == 'post'){ + // when action 'show', the intial not 'show' and POST, do a redirect + if($ACT == 'show' && $preact != 'show' && strtolower($_SERVER['REQUEST_METHOD']) == 'post'){ act_redirect($ID,$preact); } |