• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Fixed Shared Albums with "People you follow": Alert every time when additional user is followed.

Affected version
1.1.14

Freelancer

Well-known member
#1
Scenario:
  1. User "Karl" shares an album with his "People you follow".
  2. The people Karl follows receive an alert "Karl has shared the album XYZ with you."
  3. Now, the people Karl follows receive the above alert again – every time Karl follows an additional user.
 

Chris D

XenForo developer
Staff member
#2
This is fixed for the next release. As there's no particular ETA for the next release, I'll include the changes below (it's fairly simple).

Open file library/XenGallery/DataWriter/AlbumPermission.php.

Find:
PHP:
$newUsers[$key] = intval($shareUser);
Replace with:
PHP:
$newUsers[$key] = $key;