mirror of
https://github.com/friendica/friendica
synced 2025-04-25 22:30:10 +00:00
normalise_link calls
implement normaliseLink function
This commit is contained in:
parent
5276c28a78
commit
ffc406d819
54 changed files with 248 additions and 222 deletions
|
@ -249,7 +249,7 @@ class Delivery extends BaseObject
|
|||
// perform local delivery if we are on the same site
|
||||
|
||||
if (Strings::compareLink($basepath, System::baseUrl())) {
|
||||
$condition = ['nurl' => normalise_link($contact['url']), 'self' => true];
|
||||
$condition = ['nurl' => Strings::normaliseLink($contact['url']), 'self' => true];
|
||||
$target_self = DBA::selectFirst('contact', ['uid'], $condition);
|
||||
if (!DBA::isResult($target_self)) {
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue