diff --git a/include/conversation.php b/include/conversation.php
index f0d121a3ca..c87c8cb588 100644
--- a/include/conversation.php
+++ b/include/conversation.php
@@ -762,7 +762,7 @@ function conversation_fetch_comments($thread_items, bool $pinned, array $activit
}
if (($row['gravity'] == GRAVITY_PARENT) && !empty($row['causer-id'])) {
- $row['reshared'] = DI::l10n()->t('%s reshared this.', '' . htmlentities($name) . '');
+ $row['reshared'] = DI::l10n()->t('%s reshared this.', '' . htmlentities($name) . '');
}
$row['direction'] = ['direction' => 3, 'title' => (empty($row['causer-id']) ? DI::l10n()->t('Reshared') : DI::l10n()->t('Reshared by %s', $name))];
break;
diff --git a/mod/photos.php b/mod/photos.php
index 6e9a96ab2d..ac51d5273c 100644
--- a/mod/photos.php
+++ b/mod/photos.php
@@ -1455,7 +1455,7 @@ function photos_content(App $a)
continue;
}
- $profile_url = Contact::magicLinkbyId($item['author-id']);
+ $profile_url = Contact::magicLinkById($item['author-id']);
if (strpos($profile_url, 'redir/') === 0) {
$sparkle = ' sparkle';
} else {
diff --git a/src/Model/Contact.php b/src/Model/Contact.php
index 2908385f58..b922265e24 100644
--- a/src/Model/Contact.php
+++ b/src/Model/Contact.php
@@ -2658,7 +2658,7 @@ class Contact
* @throws HTTPException\InternalServerErrorException
* @throws \ImagickException
*/
- public static function magicLinkbyId($cid, $url = '')
+ public static function magicLinkById($cid, $url = '')
{
$contact = DBA::selectFirst('contact', ['id', 'network', 'url', 'uid'], ['id' => $cid]);