require_once("modules/Meetings/Meeting.php");
$parent = new Meeting();
$query = "SELECT name , assigned_user_id parent_name_owner from $parent->table_name where id = '$this->parent_id'";
$result =$this->db->query($query,true," Error filling in additional detail fields: ");
// Get the id and the name.
$row = $this->db->fetchByAssoc($result);
if($row && !empty($row['parent_name_owner']))
{
$this->parent_name_owner = $row['parent_name_owner'];
$this->parent_name_mod = $this->parent_type;
}
if($row != null)
{
if($row['name'] != '') $this->parent_name = stripslashes($row['name']);
}
}
Bookmarks