--- poll.module Sun Mar 27 11:44:14 2005 +++ new/poll.module Sun Mar 27 11:45:26 2005 @@ -264,6 +264,9 @@ } function poll_page() { + $breadcrumb = array(); + $breadcrumb[] = array('path' => $_GET['q']); + menu_set_location($breadcrumb); // List all polls $sql = "SELECT n.nid, n.title, p.active, n.created, SUM(c.chvotes) AS votes FROM {node} n INNER JOIN {poll} p ON n.nid = p.nid INNER JOIN {poll_choices} c ON n.nid = c.nid WHERE n.status = 1 AND n.moderate = 0 GROUP BY n.nid, n.title, p.active, n.created ORDER BY n.created DESC"; $sql = db_rewrite_sql($sql);