Better error message here.

This commit is contained in:
Bradley M. Kuhn 2013-12-18 17:09:12 -05:00
parent ae66e56a59
commit 78bef629e3

View file

@ -25,7 +25,7 @@ if ($display && isset ($_GET["election_id"]) && is_numeric ($_GET["election_id"]
$election_id = $_GET["election_id"];
else {
$election_id = -1;
$error .= "Please choose an election/referendum on this <a href=\"./\">list</a>.<br />\n";
$error .= "A menu of elections is not available. A URL that includes the election id is required. This should have been given to you when you were asked to vote.<br />\n";
$display = FALSE;
}