mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-20 11:48:27 -06:00
Fix NULL
This commit is contained in:
parent
8304ee21f3
commit
b4aafefc2b
@ -46,7 +46,7 @@ trait CreatesObjectGroups
|
||||
*/
|
||||
protected function getObjectGroupMaxOrder(): int
|
||||
{
|
||||
return ObjectGroup::max('order');
|
||||
return (int) ObjectGroup::max('order');
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user