• Welcome to Simple Machines Community Forum. Please login or sign up.
November 27, 2021, 09:45:43 AM

News:

Want to get involved in developing SMF, then why not lend a hand on our github!


[2.0.x] bug with sendpm function with custom from

Started by vbgamer45, July 04, 2016, 12:28:45 PM

Previous topic - Next topic

vbgamer45

There is a bug in the sendpm function where $user_info['name']  is overwritten which can cause display/other bugs later on.


Fix in Sources/Subs-Post.php remove the following. This was already done in SMF 2.1


// Probably not needed.  /me something should be of the typer.
else
$user_info['name'] = $from['name'];
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro


Advertisement: