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:
Hypolite Petovan 2022-06-25 05:03:02 -04:00
parent 636b84b41c
commit c75dbfd3d7
1 changed files with 1 additions and 1 deletions

View File

@ -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
);
}
}