Skip to content

Commit

Permalink
Fixed a bug where the sender was redirected to the home page instead …
Browse files Browse the repository at this point in the history
…of the user profile page after sending a message to he user (bug #705)
  • Loading branch information
mystralkk committed Dec 11, 2016
1 parent f4559a1 commit 9ca1e46
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions public_html/lib-common.php
Expand Up @@ -3583,6 +3583,7 @@ function COM_adminMenu($help = '', $title = '', $position = '')
*/
function COM_redirect($url)
{
$url = str_ireplace('&', '&', $url);
header('Location: ' . $url);

// Send out HTML meta tags in case header('Location: some_url') fails
Expand Down

0 comments on commit 9ca1e46

Please sign in to comment.