diff options
author | xue <> | 2006-05-31 01:00:38 +0000 |
---|---|---|
committer | xue <> | 2006-05-31 01:00:38 +0000 |
commit | bf900e824f2c661df6380fd0360c13377da58bae (patch) | |
tree | 283c3eb5d38d64684fdc5aedab44dcf28752c7f3 /demos/blog/protected/Pages/Posts/NewPost.php | |
parent | e3b10414305b181aa4e39e211cf6b0e9bf992518 (diff) |
Fixed a few issues with the blog system.
Diffstat (limited to 'demos/blog/protected/Pages/Posts/NewPost.php')
-rw-r--r-- | demos/blog/protected/Pages/Posts/NewPost.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/demos/blog/protected/Pages/Posts/NewPost.php b/demos/blog/protected/Pages/Posts/NewPost.php index 7d02557d..bba09975 100644 --- a/demos/blog/protected/Pages/Posts/NewPost.php +++ b/demos/blog/protected/Pages/Posts/NewPost.php @@ -43,6 +43,7 @@ class NewPost extends BlogPage else
$postRecord->Status=PostRecord::STATUS_PUBLISHED;
$postRecord->CreateTime=time();
+ $postRecord->ModifyTime=$postRecord->CreateTime;
$postRecord->AuthorID=$this->User->ID;
$cats=array();
foreach($this->Categories->SelectedValues as $value)
|