From: Alan Jack Pippin Date: Fri, 2 Jun 2006 03:44:50 +0000 (-0600) Subject: Fixed import bug that existed when Aaronic Priesthood Companion was not found in db X-Git-Tag: release_0_1_0~51 X-Git-Url: http://git.pippins.net/embedvideo/static/images/%7Blink_participation%7D?a=commitdiff_plain;h=0a859add5e1ba3f0f19114fb7cde8d93fbf61097;p=eq%2F.git Fixed import bug that existed when Aaronic Priesthood Companion was not found in db because they haven't been ordained yet. This caused other Elders to be added instead. --- diff --git a/import_ward_data b/import_ward_data index d872fdc..ef1c7ea 100755 --- a/import_ward_data +++ b/import_ward_data @@ -254,7 +254,7 @@ sub update_eq_companionship_table $sqlhashref2 = $sth2->fetchrow_hashref; $aaronic = $sqlhashref2->{aaronic}; $elder = "NULL"; - if($aaronic eq "") { print "-W- Unable to find $elder_name in eq_elder or eq_aaronic tables\n"; } + if($aaronic eq "") { print "-W- Unable to find $elder_name in eq_elder or eq_aaronic tables\n"; next; } } $id = $hometeaching_data{$index}{'Comp ID'}; $district = $hometeaching_data{$index}{'HT District'};