aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/posting.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2007-04-10 20:50:14 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2007-04-10 20:50:14 +0000
commite70cea16b90ba50a6a05aa1e1b091f04805a7c1a (patch)
tree2ea58a48ce2870c9b7cd6e15e64e4255119d9ea3 /phpBB/posting.php
parent067f80ecccf0ba709552e2ccd7c9714534eb80bf (diff)
downloadforums-e70cea16b90ba50a6a05aa1e1b091f04805a7c1a.tar
forums-e70cea16b90ba50a6a05aa1e1b091f04805a7c1a.tar.gz
forums-e70cea16b90ba50a6a05aa1e1b091f04805a7c1a.tar.bz2
forums-e70cea16b90ba50a6a05aa1e1b091f04805a7c1a.tar.xz
forums-e70cea16b90ba50a6a05aa1e1b091f04805a7c1a.zip
checking in some fixes... also added "previous/next pm in history" links to prosilvers private message view; dhn, you may want to have a look at the placement. :)
git-svn-id: file:///svn/phpbb/trunk@7322 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/posting.php')
-rw-r--r--phpBB/posting.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/posting.php b/phpBB/posting.php
index eac41e993b..d1b6946d6d 100644
--- a/phpBB/posting.php
+++ b/phpBB/posting.php
@@ -1391,7 +1391,7 @@ function handle_post_delete($forum_id, $topic_id, $post_id, &$post_data)
}
// If we are here the user is not able to delete - present the correct error message
- if ($post_data['poster_id'] != $user->data['user_id'] && !$auth->acl_get('f_delete', $forum_id))
+ if ($post_data['poster_id'] != $user->data['user_id'] && $auth->acl_get('f_delete', $forum_id))
{
trigger_error('DELETE_OWN_POSTS');
}