From f90b6d7aea47a5c967fd679b0c46e8a27a8ff7db Mon Sep 17 00:00:00 2001 From: francisco mancardi Date: Sat, 17 Aug 2024 13:07:20 +0200 Subject: [PATCH] fix - PHP8 - ${} --- lib/functions/common.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/functions/common.php b/lib/functions/common.php index a47e3d61e5..bc2b3bc6e2 100644 --- a/lib/functions/common.php +++ b/lib/functions/common.php @@ -424,7 +424,7 @@ function initProject(&$db,$hash_user_sel) { $tplan_id = isset($_SESSION['testplanID']) ? $_SESSION['testplanID'] : null; // Now we need to validate the TestPlan - $ckObj->name = $ckCfg->prefix . "TL_user${_SESSION['userID']}_proj${tproject_id}_testPlanId"; + $ckObj->name = $ckCfg->prefix . "TL_user{$_SESSION['userID']}_proj{$tproject_id}_testPlanId"; if($user_sel["tplan_id"] != 0) { $ckObj->value = $user_sel["tplan_id"];