Skip to content

Commit be58b70

Browse files
committed
Added check for variable being set
1 parent c717a5b commit be58b70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Plugin/os2web/DataLookup/ServiceplatformenBase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ protected function query(string $method, array $request): array {
375375
];
376376
} finally {
377377
// Remove temporary certificate file.
378-
if (file_exists($localCertPath)) {
378+
if (isset($localCertPath) && file_exists($localCertPath)) {
379379
unlink($localCertPath);
380380
}
381381
}

0 commit comments

Comments
 (0)