From 262bd6dcdc8397650fbae68ffea64e4b8560f2dd Mon Sep 17 00:00:00 2001 From: Rod Wright Date: Wed, 18 Feb 2026 12:42:03 -0500 Subject: [PATCH] Minor cleanups to prevent php undefined variables warnings. --- distfiles/maintform.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/distfiles/maintform.php b/distfiles/maintform.php index ca15206..2263e21 100644 --- a/distfiles/maintform.php +++ b/distfiles/maintform.php @@ -11,8 +11,9 @@ include("functions.php"); if (isset($_SESSION['login'])) $techid=$_SESSION['login']; -$histdays=$_REQUEST['histdays']; -$submit=$_REQUEST['submit']; +$print=$_REQUEST['print'] ?? NULL; +$histdays=$_REQUEST['histdays'] ?? NULL; +$submit=$_REQUEST['submit'] ?? NULL; $logname=LOG_NAME; $uidtext=UID_TEXT;