Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions represent-map/admin/header.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
// connect to db
mysql_connect($db_host, $db_user, $db_pass) or die(mysql_error());
mysql_select_db($db_name) or die(mysql_error());
mysql_set_charset('utf8');

// get marker totals
$total_approved = mysql_num_rows(mysql_query("SELECT id FROM places WHERE approved='1'"));
Expand Down
1 change: 1 addition & 0 deletions represent-map/header.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
// connect to db
mysql_connect($db_host, $db_user, $db_pass) or die(mysql_error());
mysql_select_db($db_name) or die(mysql_error());
mysql_set_charset('utf8');

// if map is in Startup Genome mode, check for new data
if($sg_enabled) {
Expand Down