diff options
| author | fisharebest <fisharebest@gmail.com> | 2013-10-22 11:52:00 +0100 |
|---|---|---|
| committer | fisharebest <fisharebest@gmail.com> | 2013-10-22 11:52:00 +0100 |
| commit | 0830c8cbf21c159908ac343271dc170a6bcf8f3a (patch) | |
| tree | 77ddf7b6c6eb529599e31285df519d0cf95ccac2 /modules_v3 | |
| parent | 5dca8b98492ed3e28563eca50b5a36e818b5268c (diff) | |
| download | webtrees-0830c8cbf21c159908ac343271dc170a6bcf8f3a.tar.gz webtrees-0830c8cbf21c159908ac343271dc170a6bcf8f3a.tar.bz2 webtrees-0830c8cbf21c159908ac343271dc170a6bcf8f3a.zip | |
#1241976 - Unable to add new FAQ item
Diffstat (limited to 'modules_v3')
| -rw-r--r-- | modules_v3/faq/module.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules_v3/faq/module.php b/modules_v3/faq/module.php index 2a5615c3c6..a58d19fe5d 100644 --- a/modules_v3/faq/module.php +++ b/modules_v3/faq/module.php @@ -157,7 +157,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="?">'; + echo '<form name="faq" method="post" action="module.php?mod=', $this->getName(), '&mod_action=admin_edit">'; echo '<input type="hidden" name="save" value="1">'; echo '<input type="hidden" name="block_id" value="', $block_id, '">'; echo '<table id="faq_module">'; @@ -278,7 +278,7 @@ class faq_WT_Module extends WT_Module implements WT_Module_Menu, WT_Module_Block echo '<div class="faq_italic">', WT_I18N::translate('Click on a title to go straight to it, or scroll down to read them all'); if (WT_USER_GEDCOM_ADMIN) { echo '<div class="faq_edit">', - '<a href="module.php?mod=faq&mod_action=admin_config">', WT_I18N::translate('Click here to Add, Edit, or Delete'), '</a>', + '<a href="module.php?mod=', $this->getName(), '&mod_action=admin_config">', WT_I18N::translate('Click here to Add, Edit, or Delete'), '</a>', '</div>'; } echo '</div>'; |
