Skip to content

Commit

Permalink
fix - PHP8 - ${}
Browse files Browse the repository at this point in the history
  • Loading branch information
testlinkDevTeam committed Aug 17, 2024
1 parent 265dd1b commit f90b6d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/functions/common.php
Original file line number Diff line number Diff line change
Expand Up @@ -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"];
Expand Down

0 comments on commit f90b6d7

Please sign in to comment.