ElkArte Community

Elk Development => Bug Reports => Exterminated Bugs => Topic started by: Jorin on January 02, 2019, 02:34:52 am

Title: [1.1.5] Ignore list only works with one user at a time
Post by: Jorin on January 02, 2019, 02:34:52 am
The list to ignore a user only works with one at a time. If you add a second user to the list, the first ignored user disappears from the list. It seems the list can only manage one user at a time.

A  question: is it possible to make a button to ignore a user via his profile (same as making him a friend)? The ignore list is not really easy to find/reach.  O:-)
Title: Re: [1.1.5] Ignore list only works with one user at a time
Post by: emanuele on January 02, 2019, 07:48:37 am
/me is innocent! (At least I hope...)

https://github.com/elkarte/Elkarte/issues/3276

@Jorin quick fix, in ProfileOptions.controller.php, search:
Code: [Select]
$ignoreArray = getBuddiesID($new_entries, false);
and replace it with:
Code: [Select]
$ignoreArray = array_merge($ignoreArray, getBuddiesID($new_entries, false));
Title: Re: [1.1.5] Ignore list only works with one user at a time
Post by: Jorin on January 02, 2019, 08:56:27 am
Thanks, but I can wait for the next update.   :)   But if you need a test for the fix, I can edit the file. So?  ;)