Compare commits

..

No commits in common. "f31b801c0386d32277fb72aec6ce81a1674f8134" and "6fdd25ae4bd5971777fdfafb78b4e42632ddea5f" have entirely different histories.

View File

@ -115,7 +115,7 @@ class PersistentDataManager implements IPersistentDataManager
if (count($modified) > 0) {
if ($model instanceof ModelWithSlug && isset($modified['slug'])) {
$diff['slug']['new'] = $modified['slug'] = $this->generateUniqueSlug($model, $modified['slug']);
$modified['slug'] = $this->generateUniqueSlug($model, $modified['slug']);
}
$modify->setId($id);