Skip to content

Commit 6919414

Browse files
committedNov 12, 2023
Añadida corrección de atributos OID al firmar (II)
- Actualizada clase FacturaeSigner para añadir compatibilidad con PHP 5.6 > Related to #143
1 parent 96c5b83 commit 6919414

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/Common/FacturaeSigner.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ public function sign($xml) {
176176
$certData = openssl_x509_parse($this->publicChain[0]);
177177
$certIssuer = [];
178178
foreach ($certData['issuer'] as $item=>$rawValues) {
179-
if (!isset(self::ALLOWED_OID_TYPES[$item])) {
179+
if (!array_key_exists($item, self::ALLOWED_OID_TYPES)) {
180180
continue;
181181
}
182182
$item = self::ALLOWED_OID_TYPES[$item];

0 commit comments

Comments
 (0)