Browse Source

Photo model: set updated field in update()

pull/6482/head
fabrixxm 2 years ago
committed by Hypolite Petovan
parent
commit
69fcdaf9ab
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      src/Model/Photo.php

+ 2
- 0
src/Model/Photo.php View File

@ -345,6 +345,8 @@ class Photo extends BaseObject
}
}
$fields['updated'] = DateTimeFormat::utcNow();
return DBA::update("photo", $fields, $conditions);
}


Loading…
Cancel
Save