Skip to content

Commit

Permalink
Merge pull request #3 from devsecopsmaturitymodel/feat/openCRE
Browse files Browse the repository at this point in the history
fix: check for existing array key
  • Loading branch information
wurstbrot authored Nov 11, 2023
2 parents 75c2551 + 9d2788c commit e8733f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yaml-generation/generateDimensions.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
}
}

if (!array_key_exists("openCRE", $activity["references"]["openCRE"])) {
if (!array_key_exists("openCRE", $activity["references"])) {
$dimensionsAggregated[$dimension][$subdimension][$activityName]["references"]["openCRE"] = array();
$dimensionsAggregated[$dimension][$subdimension][$activityName]["references"]["openCRE"][] = "https://www.opencre.org/rest/v1/standard/DevSecOps+Maturity+Model+(DSOMM)/${subdimension}/" + $dimensionsAggregated[$dimension][$subdimension][$activityName]["uuid"];
}
Expand Down

0 comments on commit e8733f7

Please sign in to comment.