From f4f7ff069f8d87117e673446e0fc4ce98f696de3 Mon Sep 17 00:00:00 2001
From: Alan Jack Pippin <ajp@pippin.(none)>
Date: Sun, 12 Aug 2007 23:00:48 -0600
Subject: [PATCH] Added address to visit type appointment calendar items

---
 inc/class.eq.inc.php | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/inc/class.eq.inc.php b/inc/class.eq.inc.php
index acd33b5..ab48656 100644
--- a/inc/class.eq.inc.php
+++ b/inc/class.eq.inc.php
@@ -3466,7 +3466,11 @@ class eq
 	      if($this->db3->next_record()) {
 		$phone = $this->db3->f('phone');
 	      }
-	      $location="";
+	      $sql = "SELECT * FROM eq_parent where family='$family'";
+	      $this->db3->query($sql,__LINE__,__FILE__);
+	      if($this->db3->next_record()) {
+		$location=$this->db3->f('address');
+	      }
 	      $duration = 2700; // 45 minutes
 	    }
 	  }
-- 
2.34.1