diff options
author | Dries Buytaert <dries@buytaert.net> | 2003-11-08 09:56:22 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2003-11-08 09:56:22 +0000 |
commit | 92995414b4c4bbecc9ef13dba29009e02cf951a7 (patch) | |
tree | bc340c0cbe66913a150851381cb31a984fe6b16d /modules/poll.module | |
parent | 432852fbb8ae331408cb53ad7a678c5499173893 (diff) | |
download | brdo-92995414b4c4bbecc9ef13dba29009e02cf951a7.tar.gz brdo-92995414b4c4bbecc9ef13dba29009e02cf951a7.tar.bz2 |
- Committed stage 1 of the menu callbacks improvements. Patch by Jonathan.
Diffstat (limited to 'modules/poll.module')
-rw-r--r-- | modules/poll.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/poll.module b/modules/poll.module index 7c06eb22a..b4bd980ce 100644 --- a/modules/poll.module +++ b/modules/poll.module @@ -182,7 +182,7 @@ function poll_link($type, $node = 0, $main) { if ($type == "system") { if (user_access("create polls")) { - menu("node/add/poll", t("poll"), "poll_page", 0); + menu("node/add/poll", t("poll"), "page", 0); } } else if ($type == "page" && user_access("access content")) { |