From: Alan Jack Pippin <ajp@pippin.(none)>
Date: Mon, 23 Jan 2006 05:08:16 +0000 (-0700)
Subject: Fixed bug with PPI view always showing the supervisor as the interviewer.
X-Git-Tag: release_0_1_0~68
X-Git-Url: http://git.pippins.net/%27%20%20%20%20.%20%24GLOBALS%5B%27phpgw%27%5D-%3Elink%28%27inc/jquery/static/gitweb.css?a=commitdiff_plain;h=2d62fe2d30e68f295572b6ae87597b882537511b;p=eq%2F.git

Fixed bug with PPI view always showing the supervisor as the interviewer.
---

diff --git a/inc/class.eq.inc.php b/inc/class.eq.inc.php
index b25ed33..d2396c4 100644
--- a/inc/class.eq.inc.php
+++ b/inc/class.eq.inc.php
@@ -952,7 +952,7 @@ class eq
 		  $ppis[$m]++; $total_ppis[$m]++;
 		  $link_data['menuaction'] = 'eq.eq.ppi_update';
 		  $link_data['companionship'] = $companionship;
-		  $link_data['interviewer'] = $supervisor;
+		  $link_data['interviewer'] = $this->db2->f('interviewer');
 		  $link_data['elder'] = $elder_id;
 		  $link_data['name'] = $name;
 		  $link_data['ppi'] = $this->db2->f('ppi');