mirror of
https://github.com/itflow-org/itflow
synced 2026-03-11 00:04:50 +00:00
Fix PHP error on login check if Array last_visited is set
This commit is contained in:
@@ -546,6 +546,9 @@ unlink($lock_file_path);
|
|||||||
|
|
||||||
// DEBUG
|
// DEBUG
|
||||||
echo "\nLock File Path: $lock_file_path\n";
|
echo "\nLock File Path: $lock_file_path\n";
|
||||||
|
if (file_exists($lock_file_path)) {
|
||||||
|
echo "\nLock is present\n\n";
|
||||||
|
}
|
||||||
echo "Processed Emails into tickets: $processed_count\n";
|
echo "Processed Emails into tickets: $processed_count\n";
|
||||||
echo "Unprocessed Emails: $unprocessed_count\n";
|
echo "Unprocessed Emails: $unprocessed_count\n";
|
||||||
|
|
||||||
|
|||||||
@@ -221,7 +221,7 @@ if (isset($_POST['login'])) {
|
|||||||
//}
|
//}
|
||||||
|
|
||||||
}
|
}
|
||||||
if ($_GET['last_visited']) {
|
if (isset($_GET['last_visited'])) {
|
||||||
header("Location: ".$_SERVER["REQUEST_SCHEME"] . "://" . $config_base_url . base64_decode($_GET['last_visited']) );
|
header("Location: ".$_SERVER["REQUEST_SCHEME"] . "://" . $config_base_url . base64_decode($_GET['last_visited']) );
|
||||||
} else {
|
} else {
|
||||||
header("Location: $config_start_page");
|
header("Location: $config_start_page");
|
||||||
|
|||||||
Reference in New Issue
Block a user