Skip to content
Snippets Groups Projects
Commit b766789e authored by Manuel Egío's avatar Manuel Egío
Browse files

Issue #3393401: InvalidArgumentException: The timestamp must be numeric. in...

Issue #3393401:  InvalidArgumentException: The timestamp must be numeric. in Drupal\Component\Datetime\DateTimePlus::createFromTimestamp()
parent c347f616
Branches
Tags
No related merge requests found
......@@ -146,6 +146,15 @@ class MailEntityQueueItem extends ContentEntityBase implements MailEntityQueueIt
];
}
/**
* {@inheritdoc}
*/
public function preSave(EntityStorageInterface $storage) {
$this->setChangedTime(\Drupal::time()->getRequestTime());
parent::preSave($storage);
}
/**
* {@inheritdoc}
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment