Skip to content

Commit

Permalink
3.3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
bastianallgeier authored Feb 18, 2020
2 parents 4c5e2c1 + 1c378b9 commit 0330c0a
Show file tree
Hide file tree
Showing 33 changed files with 11,540 additions and 164 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
language: php
os: linux
dist: bionic
sudo: false
services:
- memcached

Expand Down Expand Up @@ -45,5 +44,5 @@ cache:
- $HOME/.php-cs-fixer
- $HOME/pecl_cache

matrix:
jobs:
fast_finish: true
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "getkirby/cms",
"description": "The Kirby 3 core",
"version": "3.3.3",
"version": "3.3.4",
"license": "proprietary",
"keywords": ["kirby", "cms", "core"],
"homepage": "https://getkirby.com",
Expand Down
14 changes: 7 additions & 7 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion config/fields/number.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
return null;
}

return (float)Str::float($value);
return is_float($value) === true ? $value : (float)Str::float($value);
}
],
'validations' => [
Expand Down
Loading

0 comments on commit 0330c0a

Please sign in to comment.