scheduling page now only shows one table per individual
authorOwen Leonard <owen@balawis.leonard.fam>
Wed, 15 Sep 2010 06:23:57 +0000 (00:23 -0600)
committerOwen Leonard <owen@balawis.leonard.fam>
Wed, 15 Sep 2010 06:23:57 +0000 (00:23 -0600)
inc/class.tc.inc.php

index 031d19fcfc19fa6f0df09b675b14ce72a35d041c..ac8fd709c687d16791243295e81cac7212ba62bd 100644 (file)
@@ -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()) {