1
0
Fork 0

Changed parameter order for getByURL

This commit is contained in:
Michael 2020-07-15 17:06:48 +00:00
commit fc0312451d
22 changed files with 32 additions and 32 deletions

View file

@ -213,7 +213,7 @@ class Introduction extends BaseFactory
// If the network and addr is still not available
// get the missing data data from other sources
if (empty($intro['gnetwork']) || empty($intro['gaddr'])) {
$ret = Contact::getByURL($intro['url'], 0, ['network', 'addr'], false);
$ret = Contact::getByURL($intro['url'], false, ['network', 'addr']);
if (empty($intro['gnetwork']) && !empty($ret['network'])) {
$intro['gnetwork'] = $ret['network'];