Skip to content

Commit 19ffbb4

Browse files
committed
fix error with vars
1 parent fa2a507 commit 19ffbb4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/Drivers/FinkokDriver.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public function cancel(array $uuids, $rfc, $cer, $key)
6363
}
6464

6565
$canceledStatus = $response->cancelResult->Folios->Folio->EstatusCancelacion ?? null;
66-
if ($canceledStatus && preg_match('/Cancelación|Cancelado/', $statusUuid)) {
66+
if ($canceledStatus && preg_match('/Cancelación|Cancelado/', $canceledStatus)) {
6767
throw new CfdiAlreadyCanceledException('El comprobante ya ha sido cancelado.');
6868
}
6969

0 commit comments

Comments
 (0)