diff options
-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); } |