Skip to content

Commit

Permalink
Merge pull request #1633 from OCSInventory-NG/fixCveWarning
Browse files Browse the repository at this point in the history
fix(cve): fix variable name in Cve class
  • Loading branch information
charleneauger authored Sep 23, 2024
2 parents 005fd3d + 03b3972 commit d18e999
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion require/cve/Cve.php
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ public function get_cve($cve_attr){
if($this->previousSoftName != $values['NAME'] || $this->previousSoftPublisher != $values['VENDOR']) {
$this->previousSoftName = $values['NAME'];
$this->previousSoftPublisher = $values['VENDOR'];
$this->var = [];
$this->vars = [];

$url = trim($this->CVE_SEARCH_URL)."/api/search/".$values['VENDOR']."/".$values['NAME'];
curl_setopt($curl, CURLOPT_HTTPHEADER, array('content-type: application/json'));
Expand Down

0 comments on commit d18e999

Please sign in to comment.