aboutsummaryrefslogtreecommitdiffstats
path: root/include/attach.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/attach.php')
-rw-r--r--include/attach.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/attach.php b/include/attach.php
index 2109b84f1..32a86fcba 100644
--- a/include/attach.php
+++ b/include/attach.php
@@ -2702,10 +2702,11 @@ function attach_move($channel_id, $resource_id, $new_folder_hash, $newname = '',
}
- q("update attach set content = '%s', folder = '%s', filename = '%s' where id = %d",
+ q("update attach set content = '%s', folder = '%s', filename = '%s', edited = '%s' where id = %d",
dbescbin($newstorepath),
dbesc($new_folder_hash),
dbesc($filename),
+ dbesc(datetime_convert()),
intval($r[0]['id'])
);