Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
gerardojbaez committed Mar 4, 2017
1 parent 03e4c4c commit f6c91e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/LaraPlans/Models/Plan.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public function getIntervalDescriptionAttribute()
*/
public function isFree()
{
return ($this->price === 0.00 or $this->price < 0.00);
return ((float) $this->price <= 0.00);
}

/**
Expand Down

0 comments on commit f6c91e6

Please sign in to comment.