X-Git-Url: http://git.pippins.net/embedvideo/.git/static/git-logo.png?a=blobdiff_plain;f=inc%2Fclass.tc.inc.php;h=79e286b6df9f23d9422c0e3d3153cffa9ad8cebd;hb=fd3f70af9523a487a5b342501a39edad2e9b1080;hp=1e9104d61714887f574f1feeb1767b25ba8c65b8;hpb=b569f0e85df791ecd13ed18a9378424bbd570558;p=eq%2F.git 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();