aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/posting.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2005-08-19 10:48:39 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2005-08-19 10:48:39 +0000
commitf71d1a2a00d1050964b1c324aee146e70ae2fcd2 (patch)
tree669fbd9b4478a7ae49b434004bb4f9b25cf9b230 /phpBB/posting.php
parent1b331f3dd67ce7d43ac89f3f4226aadd2c40fdd0 (diff)
downloadforums-f71d1a2a00d1050964b1c324aee146e70ae2fcd2.tar
forums-f71d1a2a00d1050964b1c324aee146e70ae2fcd2.tar.gz
forums-f71d1a2a00d1050964b1c324aee146e70ae2fcd2.tar.bz2
forums-f71d1a2a00d1050964b1c324aee146e70ae2fcd2.tar.xz
forums-f71d1a2a00d1050964b1c324aee146e70ae2fcd2.zip
- add ability to limit search to groups
git-svn-id: file:///svn/phpbb/trunk@5199 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/posting.php')
-rw-r--r--phpBB/posting.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/phpBB/posting.php b/phpBB/posting.php
index fda39ae0ed..47d4e4547d 100644
--- a/phpBB/posting.php
+++ b/phpBB/posting.php
@@ -330,7 +330,11 @@ if ($mode == 'edit')
// Delete triggered ?
if ($mode == 'delete' && (($poster_id == $user->data['user_id'] && $user->data['is_registered'] && $auth->acl_get('f_delete', $forum_id) && $post_id == $topic_last_post_id) || $auth->acl_get('m_delete', $forum_id)))
{
- $s_hidden_fields = '<input type="hidden" name="p" value="' . $post_id . '" /><input type="hidden" name="f" value="' . $forum_id . '" /><input type="hidden" name="mode" value="delete" />';
+ $s_hidden_fields = build_hidden_fields(array(
+ 'p' => $post_id,
+ 'f' => $forum_id,
+ 'mode' => 'delete')
+ );
if (confirm_box(true))
{