Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[F] Private message presets
#1
when you use a URL such as this: http://community.mybboard.net/private.ph...bject=test

should not having &subject=test make the subject say test?

yet it doesn't do that here or on my board
My mods
-Emergency Message System
-Ad Managment System
-Avatar caption
#2
I guess so...

In private.php, add:
	$subject = htmlspecialchars_uni($mybb->input['subject']);
After:
	$posticons = get_post_icons();
	$previewmessage = $mybb->input['message'];
	$message = htmlspecialchars_uni($mybb->input['message']);
Dennis Tsang
Former MyBB Team Member
Web: http://dennistt.net
#3
This bug has been fixed in the latest code.

Please note the latest code is not live on the site or for download. An update will be released which contains this fix.
Dennis Tsang
Former MyBB Team Member
Web: http://dennistt.net
#4
thanks for the quick update, and the fast reply
My mods
-Emergency Message System
-Ad Managment System
-Avatar caption


Forum Jump:


Users browsing this thread: 1 Guest(s)