$page = $this->pageGateway->find($catid);
$ancestors[$count]['id'] = $catid;
$ancestors[$count]['label'] = $page['navigation_name'];
- $ancestors[$count]['link']
+ $ancestors[$count]['link']
= Toolkit_Template_Page::getSeoUrl($this->pageGateway, $catid);
$this->getAncestors($page['parent'], ++$count);
- $ancestors[$count]['link']
+ $ancestors[$count]['link']
= Toolkit_Template_Page::getSeoUrl($this->pageGateway, $res['id']);
$this->getAncestors($res['parent'], ++$count);
s.state_abb AS state_abbr,
m.street||', '||c.city_name||', '||s.state_name||', '||m.zip AS address
FROM member m
- JOIN state s USING (state_id)
- JOIN city c USING (city_id)
+ LEFT OUTER JOIN state s ON (m.state_id = s.state_id)
+ LEFT OUTER JOIN city c ON (m.city_id = c.city_id)
WHERE member_id = :member_id";
$stmt = $this->dbh->prepare($sql);
if (is_array($members)) {