From fd3f70af9523a487a5b342501a39edad2e9b1080 Mon Sep 17 00:00:00 2001
From: Owen Leonard <owen@balawis.leonard.fam>
Date: Mon, 13 Sep 2010 19:31:16 -0600
Subject: [PATCH] only list families assigned to the quorum in presidency
 visits page

---
 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 1e9104d..79e286b 100644
--- a/inc/class.tc.inc.php
+++ b/inc/class.tc.inc.php
@@ -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();
 
-- 
2.34.1