Added address to visit type appointment calendar items
authorAlan Jack Pippin <ajp@pippin.(none)>
Mon, 13 Aug 2007 05:00:48 +0000 (23:00 -0600)
committerAlan J. Pippin <ajp@pippins.net>
Mon, 13 Aug 2007 05:00:48 +0000 (23:00 -0600)
inc/class.eq.inc.php

index acd33b51b5bc68d70f937f5aba4ca0473eeffe0c..ab486562700611841d1376e335e7597c99d1172d 100644 (file)
@@ -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
            }
          }