diff options
| author | Vytautas Krivickas <vytautas.krivickas@gmail.com> | 2013-11-29 11:33:20 +0200 |
|---|---|---|
| committer | Vytautas Krivickas <vytautas.krivickas@gmail.com> | 2013-11-29 11:33:20 +0200 |
| commit | e861a0ef0d9383546912f971d77ebaec5366b87c (patch) | |
| tree | d4d7a777a37176d178ccb205930d90dd220e6224 | |
| parent | d4ca9e7000365ee06d35237abf28a6f967787ad4 (diff) | |
| download | webtrees-e861a0ef0d9383546912f971d77ebaec5366b87c.tar.gz webtrees-e861a0ef0d9383546912f971d77ebaec5366b87c.tar.bz2 webtrees-e861a0ef0d9383546912f971d77ebaec5366b87c.zip | |
Fix Csrf checks won't allow saving of the form
| -rw-r--r-- | modules_v3/faq/module.php | 1 |
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(), '&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">'; |
