mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-16 17:33:45 +00:00
Merge pull request #11047 from firefly-iii/release-1760124177
🤖 Automatically merge the PR into the develop branch.
This commit is contained in:
@@ -32,7 +32,7 @@ class IsValidSortInstruction implements ValidationRule
|
|||||||
|
|
||||||
public function validate(string $attribute, mixed $value, Closure $fail): void
|
public function validate(string $attribute, mixed $value, Closure $fail): void
|
||||||
{
|
{
|
||||||
$shortClass = str_replace('FireflyIII\Models\\', '', $this->class);
|
$shortClass = str_replace('FireflyIII\Models\\', '', $this->class);
|
||||||
if (!is_string($value)) {
|
if (!is_string($value)) {
|
||||||
$fail('validation.invalid_sort_instruction')->translate(['object' => $shortClass]);
|
$fail('validation.invalid_sort_instruction')->translate(['object' => $shortClass]);
|
||||||
|
|
||||||
@@ -49,7 +49,7 @@ class IsValidSortInstruction implements ValidationRule
|
|||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
$parts = explode(',', $value);
|
$parts = explode(',', $value);
|
||||||
foreach ($parts as $i => $part) {
|
foreach ($parts as $i => $part) {
|
||||||
$part = trim($part);
|
$part = trim($part);
|
||||||
if (strlen($part) < 2) {
|
if (strlen($part) < 2) {
|
||||||
|
@@ -79,7 +79,7 @@ return [
|
|||||||
// see cer.php for exchange rates feature flag.
|
// see cer.php for exchange rates feature flag.
|
||||||
],
|
],
|
||||||
'version' => 'develop/2025-10-10',
|
'version' => 'develop/2025-10-10',
|
||||||
'build_time' => 1760116211,
|
'build_time' => 1760124066,
|
||||||
'api_version' => '2.1.0', // field is no longer used.
|
'api_version' => '2.1.0', // field is no longer used.
|
||||||
'db_version' => 28, // field is no longer used.
|
'db_version' => 28, // field is no longer used.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user