From cdf13c55508fb2ef0a805bbe06afcd46c8853844 Mon Sep 17 00:00:00 2001 From: garvinhicking Date: Mon, 23 Oct 2006 09:46:19 +0000 Subject: [PATCH] reset proper draft privileges for published entries and authors without having the permission to save published entries --- include/functions_entries.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/functions_entries.inc.php b/include/functions_entries.inc.php index dafdcab..765053e 100644 --- a/include/functions_entries.inc.php +++ b/include/functions_entries.inc.php @@ -1208,7 +1208,7 @@ function serendipity_updertEntry($entry) { } if (!$_SESSION['serendipityRightPublish']) { - unset($entry['isdraft']); + $entry['isdraft'] = 'true'; } if (is_array($categories)) { -- 2.39.5