![]() |
#10
|
||||
|
||||
![]()
Got it: It wasn't checking if it was a numeric value or not until I applied trim() to it to remove whitespace/linebreaks. I had no idea there were even there until I decided to echo the value to see what was going on.
Inside view/messagesview.php, my newpm() function now looks like this: PHP Code:
Let me clarify that you should leave the url that sends a PM to a user alone in classes/class_userprofile.php. Keep it as it was - sending a username. Do NOT change it to send a user id.
__________________
Please do not contact me directly outside of Mysidia.
I also cannot troubleshoot code more than two years old - I legit don't remember it. Last edited by Kyttias; 12-23-2015 at 11:06 AM. |
|
|
What's New? |
What's Hot? |
What's Popular? |