Commit df604384 authored by Eric - kg6wxc's avatar Eric - kg6wxc
Browse files

Thaaat's what I knew I forgot to add!

parent c87fb1d7
......@@ -184,7 +184,7 @@ function wxc_checkDB () {
//check for old trigger based on miles and update to new trigger based on kilometers.
//the conversion to miles will be done later in the code.
$oldDistanceTriggerQuery = "select action_statement from information_schema.triggers where action_statement like '%3959%'";
$oldDistanceTriggerQuery = wxc_getMySql("select action_statement from information_schema.triggers where action_statement like '%3959%'");
if ($oldDistanceTriggerQuery) {
$sql = "drop trigger topology_get_latlons_brg_dist";
mysqli_query($GLOBALS['sql_connection'], $sql)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment