aboutsummaryrefslogtreecommitdiffstats
path: root/include/items.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/items.php')
-rwxr-xr-xinclude/items.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/items.php b/include/items.php
index dcc6c9b50..4832c2916 100755
--- a/include/items.php
+++ b/include/items.php
@@ -4060,9 +4060,11 @@ function drop_item($id,$interactive = true) {
`item_restrict` = (item_restrict|%d) ,
`title` = '',
`body` = '',
- `changed` = '%s' WHERE `id` = %d LIMIT 1",
+ `changed` = '%s',
+ `edited` = '%s' WHERE `id` = %d LIMIT 1",
intval(ITEM_DELETED),
dbesc(datetime_convert()),
+ dbesc(datetime_convert()),
intval($item['id'])
);