aboutsummaryrefslogtreecommitdiffstats
path: root/mod/filer.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/filer.php')
-rw-r--r--mod/filer.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/mod/filer.php b/mod/filer.php
index 9a409177c..e243687e3 100644
--- a/mod/filer.php
+++ b/mod/filer.php
@@ -27,8 +27,7 @@ function filer_content(&$a) {
intval(local_user())
);
if($r) {
- $x = q("update item set item_flags = ( item_flags | %d ) where id = %d and uid = %d",
- intval(ITEM_RETAINED),
+ $x = q("update item set item_retained = 1 where id = %d and uid = %d",
intval($r[0]['parent']),
intval(local_user())
);