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 and backportbot[bot] committed Mar 27, 2024
1 parent 3c8867b commit 30e5d76
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 @@ -251,6 +251,10 @@ public function readSignature(int $id): string {
return "";
}

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

throw $ex;
}
}
Expand Down

0 comments on commit 30e5d76

Please sign in to comment.