We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a514a8 commit 33aac7aCopy full SHA for 33aac7a
mapgenerate.php
@@ -3,7 +3,7 @@
3
ini_set( 'display_errors', 1 );
4
5
// Generate new map data
6
-if ( $_POST["territories"] ) {
+if ( isset( $_POST["territories"] ) && $_POST["territories"] ) {
7
$map = file_get_contents( "Blank USA w territories.svg" );
8
} else {
9
$map = file_get_contents( "Blank USA states only.svg" );
0 commit comments