Cause:
The URL used in the UCPs search is:
- Code: Select all
http://phpbb.test/search.php?search_author=andy&show_results=posts
Judging by how the link on members list works I think this should be:
- Code: Select all
http://phpbb.test/search.php?author=andy&sr=posts
In file:./includes/ucp/ucp_main.php line 172:
Contains:
- Code: Select all
'U_SEARCH_USER' => ($auth->acl_get('u_search')) ? "{$phpbb_root_path}search.$phpEx$SID&search_author=" . urlencode($user->data['username']) . "&show_results=posts" : '',
Should be:
- Code: Select all
'U_SEARCH_USER' => ($auth->acl_get('u_search')) ? "{$phpbb_root_path}search.$phpEx$SID&author=" . urlencode($user->data['username']) . "&sr=posts" : '',
I have tested this change and it seems to work ok.