More minor bug fixes related to transitioning profiles to Koloth.

svn path=/trunk/boinc/; revision=1707
This commit is contained in:
Dan Werthimer 2003-07-17 18:22:15 +00:00
parent 44c04122d8
commit b61b5c1fdc
1 changed files with 6 additions and 1 deletions

View File

@ -68,9 +68,14 @@ function execute_command() {
$userIds[] = $row[0];
}
if (count($userIds) == 0) {
echo "No profiles matched your query.<br>";
exit();
}
shuffle($userIds);
header("Location: " . MASTER_URL . "view_profile.php?userid=" . $userIds[0]);
header("Location: " . URL_BASE . "view_profile.php?userid=" . $userIds[0]);
exit();
}