Fixed bug with PPI view always showing the supervisor as the interviewer.
authorAlan Jack Pippin <ajp@pippin.(none)>
Mon, 23 Jan 2006 05:08:16 +0000 (22:08 -0700)
committerAlan J. Pippin <ajp@pippins.net>
Mon, 23 Jan 2006 05:08:16 +0000 (22:08 -0700)
inc/class.eq.inc.php

index b25ed33354f0969e58ab07237e620c40d56af9ea..d2396c4faed2339bd2b8ea73de9052d8cb2f2b11 100644 (file)
@@ -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');