User lower case

This commit is contained in:
Michael 2022-02-17 21:51:47 +00:00
parent 234dac49b4
commit 49dd97e5fd
2 changed files with 2 additions and 2 deletions

View File

@ -556,7 +556,7 @@ class Group
* *
* @param integer $id Contact ID * @param integer $id Contact ID
*/ */
public static function UpdateMembersForForum(int $id) public static function updateMembersForForum(int $id)
{ {
Logger::info('Update forum members', ['id' => $id]); Logger::info('Update forum members', ['id' => $id]);

View File

@ -733,7 +733,7 @@ class Notifier
foreach (Tag::getByURIId($target_item['uri-id'], [Tag::EXCLUSIVE_MENTION]) as $tag) { foreach (Tag::getByURIId($target_item['uri-id'], [Tag::EXCLUSIVE_MENTION]) as $tag) {
$target_contact = Contact::getByURL(Strings::normaliseLink($tag['url']), null, [], $uid); $target_contact = Contact::getByURL(Strings::normaliseLink($tag['url']), null, [], $uid);
if (($target_contact['contact-type'] == Contact::TYPE_COMMUNITY) && $target_contact['manually-approve']) { if (($target_contact['contact-type'] == Contact::TYPE_COMMUNITY) && $target_contact['manually-approve']) {
Group::UpdateMembersForForum($target_contact['id']); Group::updateMembersForForum($target_contact['id']);
} }
} }