From: Alan Jack Pippin Date: Mon, 15 Oct 2007 00:46:28 +0000 (-0600) Subject: Fixed bug in unwilling elder filter X-Git-Tag: release_0_1_0~12 X-Git-Url: http://git.pippins.net/embedvideo/.git/static/images//%22%22.%24thumbnail.%22/%22?a=commitdiff_plain;h=822abf1339b489e81ccfcd3a30d467d437af449a;p=eq%2F.git Fixed bug in unwilling elder filter --- diff --git a/inc/class.eq.inc.php b/inc/class.eq.inc.php index 3dea44f..9bc77a0 100644 --- a/inc/class.eq.inc.php +++ b/inc/class.eq.inc.php @@ -1161,13 +1161,13 @@ class eq } for ($i=0; $i < count($elder_id); $i++) { - $willing_table = ''; + $willing_table = ''; $elder_willing=0; $this->t->set_var('elder_name',$elder_name[$i]); $this->t->set_var('elder_phone',$elder_phone[$elder_id[$i]]); $this->t->set_var('editurl',$GLOBALS['phpgw']->link('/eq/index.php','menuaction=eq.eq.willing_update&elder_id=' . $elder_id[$i] . '&action=' . 'edit')); for ($j=0; $j < count($assignment_list); $j++) { - $found_willingness=0; $elder_willing=0; + $found_willingness=0; $sql = "SELECT * FROM eq_willingness where " . " assignment=" . $assignment_list[$j]['assignment'] . " AND elder=" . $elder_id[$i];