Better error message here.
This commit is contained in:
parent
ae66e56a59
commit
78bef629e3
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ if ($display && isset ($_GET["election_id"]) && is_numeric ($_GET["election_id"]
|
||||||
$election_id = $_GET["election_id"];
|
$election_id = $_GET["election_id"];
|
||||||
else {
|
else {
|
||||||
$election_id = -1;
|
$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;
|
$display = FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue