Photo model: set updated field in update()
This commit is contained in:
committed by
Hypolite Petovan
parent
3e13799e70
commit
69fcdaf9ab
@@ -345,6 +345,8 @@ class Photo extends BaseObject
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$fields['updated'] = DateTimeFormat::utcNow();
|
||||||
|
|
||||||
return DBA::update("photo", $fields, $conditions);
|
return DBA::update("photo", $fields, $conditions);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user