From 9cce143cf9f903302af6444a2fe0f69afe109451 Mon Sep 17 00:00:00 2001 From: Rod Wright Date: Mon, 23 Feb 2026 06:34:03 -0500 Subject: [PATCH] fixed invalid array key php warning --- distfiles/logentry.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/distfiles/logentry.php b/distfiles/logentry.php index 4bb7d71..a16cf3e 100644 --- a/distfiles/logentry.php +++ b/distfiles/logentry.php @@ -9,7 +9,7 @@ include("functions.php"); -if (!$_SESSION['login'] && !$_REQUEST['partview']) { +if (!array_key_exists("login",$_SESSION) && !array_key_exists("partview",$_REQUEST)) { header("Location: login.php"); } @@ -500,7 +500,7 @@ if ($delete) { format_message(0, "Note deleted. Return to main page."); } -if ($_SESSION['login']) { +if (array_key_exists('login',$_SESSION)) { // show the template selection line templateselect($techid, NULL); }