summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2002-05-26 09:03:16 +0000
committerDries Buytaert <dries@buytaert.net>2002-05-26 09:03:16 +0000
commitad83b449f7bdf3c3dc4479e1a0e1d78cf248027b (patch)
tree2c5b3b7143de4bf3eb23cad8f02a319895b39a07
parente426775fd55ee7e5a6129d77da30e517b58eb27d (diff)
downloadbrdo-ad83b449f7bdf3c3dc4479e1a0e1d78cf248027b.tar.gz
brdo-ad83b449f7bdf3c3dc4479e1a0e1d78cf248027b.tar.bz2
- Bugfix: found a bug with the 'create poll' title attribute. It was
getting added to the <a> tag as '0="title" 1="Add a new poll."'. Patch by Revar.
-rw-r--r--modules/poll.module2
-rw-r--r--modules/poll/poll.module2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/poll.module b/modules/poll.module
index 68b54eb58..1d5ade5c3 100644
--- a/modules/poll.module
+++ b/modules/poll.module
@@ -120,7 +120,7 @@ function poll_insert($node) {
function poll_link($type) {
if ($type == "menu.create" && user_access("post content")) {
- $links[] = lm(t("create poll"), array("mod" => "node", "op" => "add", "type" => "poll"), "", array("title", t("Add a new poll.")));
+ $links[] = lm(t("create poll"), array("mod" => "node", "op" => "add", "type" => "poll"), "", array("title" => t("Add a new poll.")));
}
return $links ? $links : array();
diff --git a/modules/poll/poll.module b/modules/poll/poll.module
index 68b54eb58..1d5ade5c3 100644
--- a/modules/poll/poll.module
+++ b/modules/poll/poll.module
@@ -120,7 +120,7 @@ function poll_insert($node) {
function poll_link($type) {
if ($type == "menu.create" && user_access("post content")) {
- $links[] = lm(t("create poll"), array("mod" => "node", "op" => "add", "type" => "poll"), "", array("title", t("Add a new poll.")));
+ $links[] = lm(t("create poll"), array("mod" => "node", "op" => "add", "type" => "poll"), "", array("title" => t("Add a new poll.")));
}
return $links ? $links : array();