Skip to content

Commit

Permalink
Merge pull request #610 from N4IR0/fix_metadata_version_check
Browse files Browse the repository at this point in the history
Fix check if version is saved as float
  • Loading branch information
artonge authored Mar 26, 2024
2 parents 2c599b6 + 14c0cdb commit e03976b
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 @@ -245,6 +245,10 @@ public function readSignature(int $id): string {
return "";
}

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

throw $ex;
}
}
Expand Down

0 comments on commit e03976b

Please sign in to comment.