Skip to content

Commit 33aac7a

Browse files
committed
fix map generation bug
1 parent 0a514a8 commit 33aac7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mapgenerate.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
ini_set( 'display_errors', 1 );
44

55
// Generate new map data
6-
if ( $_POST["territories"] ) {
6+
if ( isset( $_POST["territories"] ) && $_POST["territories"] ) {
77
$map = file_get_contents( "Blank USA w territories.svg" );
88
} else {
99
$map = file_get_contents( "Blank USA states only.svg" );

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy