projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Included Sales Pricing, Purchasing Prising, Cost update and Reorder Levels in tabs...
[fa-stable.git]
/
includes
/
session.inc
diff --git
a/includes/session.inc
b/includes/session.inc
index 37591d3489e8bdbceffdb78b28eece26c6053966..27e6f8e6746e407ebc98471d7891b007aff20d7e 100644
(file)
--- a/
includes/session.inc
+++ b/
includes/session.inc
@@
-451,11
+451,11
@@
if (strstr($_SERVER['PHP_SELF'], 'logout.php') == false){
// Incorrect password
login_fail();
}
// Incorrect password
login_fail();
}
- elseif(!$_SESSION['timeout']['post'])
+ elseif(
isset($_SESSION['timeout']) &&
!$_SESSION['timeout']['post'])
{
// in case of GET request redirect to avoid confirmation dialog
// after return from menu option
{
// in case of GET request redirect to avoid confirmation dialog
// after return from menu option
- header("HTTP
1.1 303 See Other");
+ header("HTTP
/
1.1 303 See Other");
header("Location: ".$_SESSION['timeout']['uri']);
exit();
}
header("Location: ".$_SESSION['timeout']['uri']);
exit();
}