mirror of
https://github.com/processwire/processwire.git
synced 2025-08-13 10:15:28 +02:00
Fix issue processwire/processwire-issues#1334
This commit is contained in:
@@ -1294,7 +1294,7 @@ class Pagefile extends WireData {
|
||||
*
|
||||
*/
|
||||
public function ___changed($what, $old = null, $new = null) {
|
||||
if(in_array($what, array('description', 'tags', 'file', 'filedata'))) {
|
||||
if(in_array($what, array('description', 'tags', 'file', 'filedata')) || array_key_exists($what, $this->fieldValues)) {
|
||||
$this->setUser(true, 'modified');
|
||||
$this->set('modified', time());
|
||||
$this->pagefiles->trackChange('item');
|
||||
|
Reference in New Issue
Block a user