From 822abf1339b489e81ccfcd3a30d467d437af449a Mon Sep 17 00:00:00 2001 From: Alan Jack Pippin Date: Sun, 14 Oct 2007 18:46:28 -0600 Subject: [PATCH] Fixed bug in unwilling elder filter --- inc/class.eq.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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]; -- 2.34.1