From: Alan Jack Pippin Date: Mon, 13 Feb 2006 00:53:09 +0000 (-0700) Subject: Fixed bug related to dropping family from being hometaught, still showed up under... X-Git-Tag: release_0_1_0~56 X-Git-Url: http://git.pippins.net/embedvideo/.git/static/images/%7Beqpres_ppi_link%7D?a=commitdiff_plain;h=756a3b9521f0e66d455a7a0306a182feb7e9d6e1;p=eq%2F.git Fixed bug related to dropping family from being hometaught, still showed up under companionship. --- 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) {