mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Update CreatesObjectGroups.php
Fix thing
This commit is contained in:
parent
2cb2e2e635
commit
d0d3921ff6
@ -48,7 +48,7 @@ trait CreatesObjectGroups
|
||||
*/
|
||||
protected function findOrCreateObjectGroup(string $title): ?ObjectGroup
|
||||
{
|
||||
$title = substr(0,255, $title);
|
||||
$title = substr($title, 0, 255);
|
||||
$maxOrder = $this->getObjectGroupMaxOrder();
|
||||
if (!$this->hasObjectGroup($title)) {
|
||||
return ObjectGroup::create(
|
||||
|
Loading…
Reference in New Issue
Block a user