summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--post.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/post.php b/post.php
index ff481d6..ed6e9e0 100644
--- a/post.php
+++ b/post.php
@@ -1,6 +1,6 @@
<?php
/**
- * @version $Header: /cvsroot/bitweaver/_bit_blogs/post.php,v 1.69 2009/11/22 15:11:49 lsces Exp $
+ * @version $Header: /cvsroot/bitweaver/_bit_blogs/post.php,v 1.70 2009/11/22 15:29:44 wjames5 Exp $
* @package blogs
* @subpackage functions
@@ -111,7 +111,7 @@ if (isset($_REQUEST["preview"])) {
}
} elseif( !empty( $_REQUEST['edit'] ) ) {
} else {
- $gBlog->invokeServices( 'content_edit_function' );
+ $gContent->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.