Skip to content
This repository has been archived by the owner on Jun 23, 2023. It is now read-only.

Commit

Permalink
Merge 23d7d36 into 8750c5c
Browse files Browse the repository at this point in the history
  • Loading branch information
mondrake authored Jan 4, 2017
2 parents 8750c5c + 23d7d36 commit b5c960c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/PelEntryVersion.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ public function __construct($tag, $version = 0.0)
*/
public function setValue($version = 0.0)
{
$version = !empty($version) && is_numeric($version) ? $version : 0.0;
$this->version = $version;
$major = floor($version);
$minor = ($version - $major) * 100;
Expand Down

0 comments on commit b5c960c

Please sign in to comment.