From 11c876886ae6c4a7827d297f7c9b4a247e9de292 Mon Sep 17 00:00:00 2001 From: Rod Wright Date: Mon, 23 Feb 2026 06:34:32 -0500 Subject: [PATCH] fixed invalid array key php warnings --- distfiles/login.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/distfiles/login.php b/distfiles/login.php index 14018e0..442e45b 100644 --- a/distfiles/login.php +++ b/distfiles/login.php @@ -9,11 +9,11 @@ include("functions.php"); -$print = $_REQUEST['print']; -$tech = $_REQUEST['tech']; -$pass = $_REQUEST['pass']; -$login = $_REQUEST['login']; -$cancel = $_REQUEST['cancel']; +$print = $_REQUEST['print'] ?? NULL; +$tech = $_REQUEST['tech'] ?? NULL; +$pass = $_REQUEST['pass'] ?? NULL; +$login = $_REQUEST['login'] ?? NULL; +$cancel = $_REQUEST['cancel'] ?? NULL; if ($cancel) { session_destroy();