Bug Fix
What was the issue?
There were issues in steemnova while sending/deleting/accepting friendrequests, if the language of the two users are different.
For more details please see my bugreport about this issue.
What was the solution?
As seen in the screenshot the variable language was not defined.
This was the case everytime the language of the user and that of the "friend" were different.
So to fix the bug I searched the "ShowBuddyListPage" for all occurences of the language variable. I then replaced them with the correct language.
As you can see the language of the current user is always in $USER['lang']. It is compared to the language of the other user, if they are different the language of the other user should be used. This is because it determines the language of the message that is send to the other user.
As you can see the language of the other user is in the variables "$row['lang']", "$requestData['lang']" and "$sender['lang']" respectively.
Posted on Utopian.io - Rewarding Open Source Contributors
Thank you for the contribution. It has been approved.
You can contact us on Discord.
[utopian-moderator]
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thanks Vlad! :)
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Congratulations! This post has been upvoted from the communal account, @minnowsupport, by MWFIAE from the Minnow Support Project. It's a witness project run by aggroed, ausbitbank, teamsteem, theprophet0, someguy123, neoxian, followbtcnews, and netuoso. The goal is to help Steemit grow by supporting Minnows. Please find us at the Peace, Abundance, and Liberty Network (PALnet) Discord Channel. It's a completely public and open space to all members of the Steemit community who voluntarily choose to be there.
If you would like to delegate to the Minnow Support Project you can do so by clicking on the following links: 50SP, 100SP, 250SP, 500SP, 1000SP, 5000SP.
Be sure to leave at least 50SP undelegated on your account.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Hey @mwfiae I am @utopian-io. I have just upvoted you!
Achievements
Community-Driven Witness!
I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!
Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit