Skip to content

Commit

Permalink
Merge pull request #614 from N4IR0/fix_metadata_version_check
Browse files Browse the repository at this point in the history
Fix check also for metadata version 1
  • Loading branch information
artonge authored Mar 27, 2024
2 parents c8e4475 + 1711265 commit fca39f5
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 fca39f5

Please sign in to comment.