summaryrefslogtreecommitdiff
path: root/edit.php
diff options
context:
space:
mode:
authorwjames5 <will@tekimaki.com>2008-10-03 17:20:15 +0000
committerwjames5 <will@tekimaki.com>2008-10-03 17:20:15 +0000
commitf09ffeb70a716134ef0105f1932d867d0325f789 (patch)
treee3b05d6c15221528163ba1d6dbcabdb546f30d1e /edit.php
parent983baeac4a05417797606074aa52d3316cf9d9d3 (diff)
downloadblogs-f09ffeb70a716134ef0105f1932d867d0325f789.tar.gz
blogs-f09ffeb70a716134ef0105f1932d867d0325f789.tar.bz2
blogs-f09ffeb70a716134ef0105f1932d867d0325f789.zip
CORE CHANGE: cleave Create permission from Edit permission so that they are distinct. See mailing list for more details
Diffstat (limited to 'edit.php')
-rw-r--r--edit.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/edit.php b/edit.php
index c4a7c23..90dc73c 100644
--- a/edit.php
+++ b/edit.php
@@ -1,6 +1,6 @@
<?php
/**
- * @version $Header: /cvsroot/bitweaver/_bit_blogs/edit.php,v 1.33 2008/06/25 22:21:07 spiderr Exp $
+ * @version $Header: /cvsroot/bitweaver/_bit_blogs/edit.php,v 1.34 2008/10/03 17:20:15 wjames5 Exp $
* @package blogs
* @subpackage functions
*/
@@ -27,7 +27,7 @@ require_once( BLOGS_PKG_PATH.'lookup_blog_inc.php');
if( $gContent->isValid() ) {
$gContent->verifyEditPermission();
} else {
- $gBitSystem->verifyPermission( 'p_blogs_create' );
+ $gContent->verifyCreatePermission();
}
if (isset($_REQUEST['preview'])) {