From a9171dd4976295aaa97b29e035a0dbf594a438cc Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Fri, 1 Oct 2010 14:07:32 -0600 Subject: [PATCH] changed query from tc_companionship to tc_companion to fix the ht interview scheduling --- inc/class.tc.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/class.tc.inc.php b/inc/class.tc.inc.php index e2db750..a5e3138 100644 --- a/inc/class.tc.inc.php +++ b/inc/class.tc.inc.php @@ -1757,7 +1757,7 @@ class tc $hti_pri = $entry['pri']; //print "hti_notes: $hti_notes indiv_name: $indiv_name
"; // Perform database save actions here - $this->db->query("SELECT * FROM tc_companionship WHERE individual=$individual and valid=1",__LINE__,__FILE__); + $this->db->query("SELECT * FROM tc_companion WHERE individual=$individual and valid=1",__LINE__,__FILE__); if ($this->db->next_record()) { $scheduling_priority = $this->db->f('scheduling_priority'); //$this->logToFile("int_sched", "UPDATE tc_scheduling_priority SET priority='$hti_pri', notes=\"$hti_notes\" WHERE scheduling_priority='$scheduling_priority'"); -- 2.34.1