only list families assigned to the quorum in presidency visits page
authorOwen Leonard <owen@balawis.leonard.fam>
Tue, 14 Sep 2010 01:31:16 +0000 (19:31 -0600)
committerOwen Leonard <owen@balawis.leonard.fam>
Tue, 14 Sep 2010 01:31:16 +0000 (19:31 -0600)
inc/class.tc.inc.php

index 1e9104d61714887f574f1feeb1767b25ba8c65b8..79e286b6df9f23d9422c0e3d3153cffa9ad8cebd 100644 (file)
@@ -2993,7 +2993,7 @@ class tc
                }
 
                // List the families that are available to record a visit against
-               $sql = "SELECT * FROM tc_family WHERE valid=1";
+               $sql = "SELECT * FROM tc_family WHERE companionship != 0 and valid=1";
                $this->db->query($sql,__LINE__,__FILE__);
                $total_records = $this->db->num_rows();