summaryrefslogtreecommitdiff
path: root/modules_v3
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2013-11-29 14:58:50 -0800
committerGreg Roach <fisharebest@gmail.com>2013-11-29 14:58:50 -0800
commit71681ca62a81da688c2aa81ce768d99b79794b42 (patch)
treed3bc9373aaab26b5ff11afcdbd98d5e72f6f7b9f /modules_v3
parenta909b56030b8052ac5e62216ebb8d8af66c77832 (diff)
parente861a0ef0d9383546912f971d77ebaec5366b87c (diff)
downloadwebtrees-71681ca62a81da688c2aa81ce768d99b79794b42.tar.gz
webtrees-71681ca62a81da688c2aa81ce768d99b79794b42.tar.bz2
webtrees-71681ca62a81da688c2aa81ce768d99b79794b42.zip
Merge pull request #47 from vytux-com/patch-1
Fix Csrf checks won't allow saving of the form
Diffstat (limited to 'modules_v3')
-rw-r--r--modules_v3/faq/module.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules_v3/faq/module.php b/modules_v3/faq/module.php
index 34c9ade868..6d20950d30 100644
--- a/modules_v3/faq/module.php
+++ b/modules_v3/faq/module.php
@@ -158,6 +158,7 @@ class faq_WT_Module extends WT_Module implements WT_Module_Menu, WT_Module_Block
// "Help for this page" link
echo '<div id="page_help">', help_link('add_faq_item', $this->getName()), '</div>';
echo '<form name="faq" method="post" action="module.php?mod=', $this->getName(), '&amp;mod_action=admin_edit">';
+ echo WT_Filter::getCsrf();
echo '<input type="hidden" name="save" value="1">';
echo '<input type="hidden" name="block_id" value="', $block_id, '">';
echo '<table id="faq_module">';