Username with space gives error user 2 user points

More
6 years 3 months ago #40654 by Buzz50
When I try to send Points using User2UserPoints it gives an error if the username has a space in it such as 'Peter Jones'
It shows:
This username does'nt exist

What can I do to fix this please?

Please Log in or Create an account to join the conversation.

More
6 years 3 months ago #40656 by nordmograph
Can you edit
components/com_user2userpoints/models/user2userpoints.php
change line 41
Code:
$username2points = $app->input->get('username2points', '');
to
Code:
$username2points = $app->input->getUsername('username2points', '');
I'll add this change to the core.

- Need help? Post the URL of the related page (eventualy as confidential info), it will help solve your issue faster.
- An error, notice or warning? report the exact message including the line number
- If you get a white page , enable error reporting and / or check your server error logs.

Please Log in or Create an account to join the conversation.

Time to create page: 0.312 seconds
Powered by Kunena Forum
Disclaimer: Nordmograph is not affiliated with or endorsed by The Joomla! Project™. Any products and services provided through this site are not supported or warrantied by The Joomla! Project or Open Source Matters, Inc. Use of the Joomla!® name, symbol, logo and related trademarks is permitted under a limited license granted by Open Source Matters, Inc.