Blog entries publish state now defaults to site if possible, to avoid all those drafts! (yuk)

This commit is contained in:
moodler
2007-09-03 09:13:56 +00:00
parent d66790b782
commit 3a81da563b
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -102,7 +102,7 @@ if ($blogeditform->is_cancelled()){
switch ($action) {
case 'add':
// prepare new empty form
$post->publishstate = 'draft';
$post->publishstate = 'site';
$strformheading = get_string('addnewentry', 'blog');
$post->action = $action;
break;