Upgrade to 3.6.1.1
This commit is contained in:
@@ -159,7 +159,7 @@ class KirbyTag
|
||||
|
||||
// extract all attributes
|
||||
$regex = sprintf('/(%s):/i', implode('|', $attr));
|
||||
$search = preg_split($regex, $tag, false, PREG_SPLIT_DELIM_CAPTURE | PREG_SPLIT_NO_EMPTY);
|
||||
$search = preg_split($regex, $tag, -1, PREG_SPLIT_DELIM_CAPTURE | PREG_SPLIT_NO_EMPTY);
|
||||
|
||||
// $search is now an array with alternating keys and values
|
||||
// convert it to arrays of keys and values
|
||||
|
@@ -417,7 +417,7 @@ class Str
|
||||
|
||||
$value = str_replace(',', '.', $value);
|
||||
$decimal = strlen(substr(strrchr($value, '.'), 1));
|
||||
return number_format((float)$value, $decimal, '.', false);
|
||||
return number_format((float)$value, $decimal, '.', '');
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user