summaryrefslogtreecommitdiff
path: root/post.php
diff options
context:
space:
mode:
authorLester Caine <lester@lsces.co.uk>2009-11-22 15:11:49 +0000
committerLester Caine <lester@lsces.co.uk>2009-11-22 15:11:49 +0000
commit7b532acdb15c730996b0e9537fe709c363bb91c3 (patch)
treedd3404daa4afd033182b5c52560fddf3899f799f /post.php
parentf5b563627cdadb20a86b7256b889f1800e18eae7 (diff)
downloadblogs-7b532acdb15c730996b0e9537fe709c363bb91c3.tar.gz
blogs-7b532acdb15c730996b0e9537fe709c363bb91c3.tar.bz2
blogs-7b532acdb15c730996b0e9537fe709c363bb91c3.zip
Use blog content settings rather than post for new posts - committed for others to check that it does not break anything on other services
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 e072e11..ff481d6 100644
--- a/post.php
+++ b/post.php
@@ -1,6 +1,6 @@
<?php
/**
- * @version $Header: /cvsroot/bitweaver/_bit_blogs/post.php,v 1.68 2009/10/01 14:16:58 wjames5 Exp $
+ * @version $Header: /cvsroot/bitweaver/_bit_blogs/post.php,v 1.69 2009/11/22 15:11:49 lsces Exp $
* @package blogs
* @subpackage functions
@@ -111,7 +111,7 @@ if (isset($_REQUEST["preview"])) {
}
} elseif( !empty( $_REQUEST['edit'] ) ) {
} else {
- $gContent->invokeServices( 'content_edit_function' );
+ $gBlog->invokeServices( 'content_edit_function' );
if( $gContent->isValid() && $gContent->getContentStatus() == -5 && $gContent->getField('publish_date') < $gBitSystem->getUTCTime() ){
/* if we are working with a draft and a future publish date is not set
* then we automatically move the publish date up to NOW to help users from publishing in the past.