summaryrefslogtreecommitdiff
path: root/post.php
diff options
context:
space:
mode:
Diffstat (limited to 'post.php')
-rw-r--r--post.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/post.php b/post.php
index 7c16a28..8c08faf 100644
--- a/post.php
+++ b/post.php
@@ -1,6 +1,6 @@
<?php
/**
- * @version $Header: /cvsroot/bitweaver/_bit_blogs/post.php,v 1.45 2007/09/07 20:32:56 wjames5 Exp $
+ * @version $Header: /cvsroot/bitweaver/_bit_blogs/post.php,v 1.46 2007/09/07 20:36:25 wjames5 Exp $
* @package blogs
* @subpackage functions
@@ -24,7 +24,7 @@ $gBlog = new BitBlog();
//must be owner or admin to edit an existing post
if (!empty($_REQUEST['post_id']) || !empty($_REQUEST['content_id'])) {
- if ( !$gContent->isOwner() || !$gBitUser->hasPermission( 'p_blogs_admin' ) ){
+ if ( !$gContent->isOwner() && !$gBitUser->hasPermission( 'p_blogs_admin' ) ){
$gBitSystem->fatalError( tra( "You do not have permission to edit this post!" ));
}
}