+
+ // Feeds url could have been destroyed through "cleanContactUrl", so we now use the original url
+ if (!count($contact) && local_user()) {
+ $nurl = normalise_link($profileurl);
+ $contact = Contact::getDetailsByURL($nurl, local_user());
+ }
+
+ if (!count($contact)) {
+ $nurl = normalise_link($profileurl);
+ $contact = Contact::getDetailsByURL($nurl);
+ }
+