Minor - Fixing URL

skala
Julio Montoya 13 years ago
parent 33ed756e40
commit 1bbe12a7d6
  1. 4
      whoisonline.php

@ -137,8 +137,8 @@ if ((api_get_setting('showonline', 'world') == 'true' && !$_user['user_id']) ||
if (isset($_GET['id'])) {
if (api_get_setting('allow_social_tool') == 'true') {
header("Location: ".api_get_path(WEB_CODE_PATH)."social/profile.php?u=?".$_GET['id']);
exit;
header("Location: ".api_get_path(WEB_CODE_PATH)."social/profile.php?u=".intval($_GET['id']));
exit;
} else {
SocialManager::display_individual_user($_GET['id']);
}

Loading…
Cancel
Save