Test fix for variable deletion bug.

Signed-off-by: digimer <mkelly@alteeve.ca>
main
digimer 1 year ago
parent 8bc35b322f
commit a5f424d340
  1. 5
      Anvil/Tools/Database.pm

@ -19721,7 +19721,7 @@ ORDER BY
}
if ((not exists $anvil->data->{duplicate_variables}{$variable_section}{$variable_name}{$variable_source_table}{$variable_source_uuid}) &&
(not exists $anvil->data->{duplicate_variables}{$variable_section}{$variable_name}{$variable_source_table}{$variable_source_uuid}{variable_uuid}))
(not $anvil->data->{duplicate_variables}{$variable_section}{$variable_name}{$variable_source_table}{$variable_source_uuid}{variable_uuid}))
{
# Save it.
$anvil->data->{duplicate_variables}{$variable_section}{$variable_name}{$variable_source_table}{$variable_source_uuid}{variable_value} = $variable_value;
@ -19758,6 +19758,9 @@ ORDER BY
}
}
# Delete to hash.
delete $anvil->data->{duplicate_variables};
return(0);
}

Loading…
Cancel
Save