reset proper draft privileges for published entries and authors without having the permission to save published entries

This commit is contained in:
Garvin Hicking 2006-10-23 09:46:19 +00:00
parent 8df915bcf5
commit a88887e4c5

View File

@ -1208,7 +1208,7 @@ function serendipity_updertEntry($entry) {
}
if (!$_SESSION['serendipityRightPublish']) {
unset($entry['isdraft']);
$entry['isdraft'] = 'true';
}
if (is_array($categories)) {