Update default value for LocalRelationship->priority to avoid null values
- Address https://github.com/friendica/friendica/issues/11630#issuecomment-1166192993
This commit is contained in:
parent
636b84b41c
commit
c75dbfd3d7
|
@ -52,7 +52,7 @@ class LocalRelationship extends BaseFactory implements ICanCreateFromTableRow
|
|||
$row['hub-verify'] ?? '',
|
||||
$row['protocol'] ?? Protocol::PHANTOM,
|
||||
$row['rating'] ?? null,
|
||||
$row['priority'] ?? null
|
||||
$row['priority'] ?? 0
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue