From: Owen Leonard <owen@balawis.leonard.fam>
Date: Wed, 15 Sep 2010 06:23:57 +0000 (-0600)
Subject: scheduling page now only shows one table per individual
X-Git-Tag: release_1_0_0~41
X-Git-Url: http://git.pippins.net/%27%20.%20%24this-%3Ephpgw_js_url%20.%20%27/jscalendar/%7Bdone_action%7D?a=commitdiff_plain;h=c2126b4823045fd8915a51c9f0f38ca103a15731;p=eq%2F.git

scheduling page now only shows one table per individual
---

diff --git a/inc/class.tc.inc.php b/inc/class.tc.inc.php
index 031d19f..ac8fd70 100644
--- a/inc/class.tc.inc.php
+++ b/inc/class.tc.inc.php
@@ -3570,7 +3570,7 @@ class tc
 		$header_row.= "<th width=$location_width><font size=-2>Location</th>";
 		$table_data = "";
 
-		$sql = "SELECT * FROM tc_presidency where valid=1";
+		$sql = "SELECT * FROM tc_presidency where valid=1 GROUP BY indiv";
 		$this->db->query($sql,__LINE__,__FILE__);
 		$i=0;
 		while ($this->db->next_record()) {