From 69fcdaf9ab02ac9364c81e5c932ac014f623099e Mon Sep 17 00:00:00 2001 From: fabrixxm Date: Wed, 21 Nov 2018 18:08:23 +0100 Subject: [PATCH] Photo model: set updated field in update() --- src/Model/Photo.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Model/Photo.php b/src/Model/Photo.php index a72a7a66f9..edb4bc0e26 100644 --- a/src/Model/Photo.php +++ b/src/Model/Photo.php @@ -345,6 +345,8 @@ class Photo extends BaseObject } } + $fields['updated'] = DateTimeFormat::utcNow(); + return DBA::update("photo", $fields, $conditions); } -- 2.39.5