From: Owen Leonard Date: Tue, 14 Sep 2010 01:31:16 +0000 (-0600) Subject: only list families assigned to the quorum in presidency visits page X-Git-Tag: release_1_0_0~45 X-Git-Url: http://git.pippins.net/embedvideo/.git/%22%22.%24thumbnail.%22/%7Blink_visit%7D?a=commitdiff_plain;h=fd3f70af9523a487a5b342501a39edad2e9b1080;p=eq%2F.git only list families assigned to the quorum in presidency visits page --- 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();