From: Owen Leonard Date: Fri, 1 Oct 2010 20:07:32 +0000 (-0600) Subject: changed query from tc_companionship to tc_companion to fix the ht interview scheduling X-Git-Tag: release_1_0_0~5^2 X-Git-Url: http://git.pippins.net/embedvideo/images/%27%20%20%20%20.%20%24GLOBALS%5B%27phpgw%27%5D-%3Elink%28%27inc/jquery/static/.%24link.?a=commitdiff_plain;h=a9171dd4976295aaa97b29e035a0dbf594a438cc;p=eq%2F.git changed query from tc_companionship to tc_companion to fix the ht interview scheduling --- 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'");