[web-wiki] fix/vote: Fix form action URL in Doodle Plugin to include ID for proper submission
| From: | Luffy | Date: | Tue, 05 Aug 2025 10:10:31 +0000 |
| Subject: | [web-wiki] fix/vote: Fix form action URL in Doodle Plugin to include ID for proper submission | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-33080@lists.php.net to get a copy of this message | ||
Author: Luffy (sy-records)
Date: 2025-08-05T17:56:20+08:00
Commit: https://github.com/php/web-wiki/commit/a7318ee06343d989979689a37845d0d7aeaea3cf
Raw diff: https://github.com/php/web-wiki/commit/a7318ee06343d989979689a37845d0d7aeaea3cf.diff
Fix form action URL in Doodle Plugin to include ID for proper submission
Changed paths:
M dokuwiki/lib/plugins/doodle/doodle_template.php
Diff:
diff --git a/dokuwiki/lib/plugins/doodle/doodle_template.php
b/dokuwiki/lib/plugins/doodle/doodle_template.php
index f7247e39..e44b564c 100755
--- a/dokuwiki/lib/plugins/doodle/doodle_template.php
+++ b/dokuwiki/lib/plugins/doodle/doodle_template.php
@@ -13,7 +13,7 @@
?>
<!-- Doodle Plugin -->
-<form action="<?php echo wl() ?>" method="post"
name="doodle__form" id="<?php echo $template['formId'] ?>"
accept-charset="utf-8" >
+<form action="<?php echo wl($ID) ?>#<?php echo $template['formId']
?>" method="post" name="doodle__form" id="<?php echo
$template['formId'] ?>" accept-charset="utf-8" >
<input type="hidden" name="sectok" value="<?php echo
getSecurityToken() ?>" />
<input type="hidden" name="do" value="show" >