From 756a3b9521f0e66d455a7a0306a182feb7e9d6e1 Mon Sep 17 00:00:00 2001 From: Alan Jack Pippin Date: Sun, 12 Feb 2006 17:53:09 -0700 Subject: [PATCH] Fixed bug related to dropping family from being hometaught, still showed up under companionship. --- import_ward_data | 2 ++ 1 file changed, 2 insertions(+) diff --git a/import_ward_data b/import_ward_data index 522386e..8a7983b 100755 --- a/import_ward_data +++ b/import_ward_data @@ -317,6 +317,8 @@ sub update_eq_family_table # Set all records to be invalid. Only mark them as valid if they appear on the new list. $sth = $dbh->prepare("update eq_family set valid=0"); $sth->execute or die "-E- DB error: $DBI::errstr\n"; + $sth = $dbh->prepare("update eq_family set companionship=0"); + $sth->execute or die "-E- DB error: $DBI::errstr\n"; foreach $index (keys %membership_data) { -- 2.34.1