set entries update isdraft to string value false
to be able to publish draft entries from dashboard References #160
This commit is contained in:
parent
13c9b4b74d
commit
14ce11c778
@ -1402,6 +1402,8 @@ function serendipity_updertEntry($entry) {
|
||||
}
|
||||
}
|
||||
|
||||
if (!$entry['isdraft'] || $entry['isdraft'] == 0) $entry['isdraft'] = 'false';
|
||||
|
||||
//if (!serendipity_db_bool($entry['isdraft']) && !serendipity_db_bool($_entry['isdraft'])) {
|
||||
$entry['last_modified'] = time();
|
||||
//}
|
||||
|
Loading…
x
Reference in New Issue
Block a user