From d6a9a9927c23e8b4307dc2164407481f8c542682 Mon Sep 17 00:00:00 2001 From: Mario Date: Fri, 15 Jul 2022 17:50:02 +0000 Subject: HQ dashboard - initial checkin --- include/attach.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/attach.php') 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']) ); -- cgit v1.2.3