set entries update isdraft to string value false

to be able to publish draft entries from dashboard

References #160
This commit is contained in:
Ian 2014-05-23 17:11:05 +02:00
parent 13c9b4b74d
commit 14ce11c778

View File

@ -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();
//}