Skip to content

Commit

Permalink
Fix check also for metadata version 1
Browse files Browse the repository at this point in the history
Signed-off-by: Florian Voit <[email protected]>
  • Loading branch information
N4IR0 authored Mar 27, 2024
1 parent 14c0cdb commit 1711265
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/MetaDataStorage.php
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,10 @@ public function readSignature(int $id): string {
return "";
}

if ($decodedMetadata['metadata']['version'] === 1) {
return "";
}

throw $ex;
}
}
Expand Down

0 comments on commit 1711265

Please sign in to comment.