Commit 888f61f925a8ff1f582c43299925c443b5855e61
1 parent
d6df9935
KTS-3770
"Error on custom error page show incorrect message because it is not removed from the session" Implemented. Committed By: Conrad Vermeulen Reviewed By: Megan Watson git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@9438 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
1 additions
and
1 deletions
customerrorpage.php
| ... | ... | @@ -40,7 +40,7 @@ session_start(); |
| 40 | 40 | // Get the error message |
| 41 | 41 | $error = isset($_POST['fatal']) ? $_POST['fatal'] : ''; |
| 42 | 42 | $error = isset($_SESSION['sErrorMessage']) ? $_SESSION['sErrorMessage'] : $error; |
| 43 | - | |
| 43 | +unset($_SESSION['sErrorMessage']); | |
| 44 | 44 | //Finding root Url |
| 45 | 45 | $sHost = $_SERVER['HTTP_HOST']; |
| 46 | 46 | $sScriptName = dirname($_SERVER['SCRIPT_NAME']); | ... | ... |