Compare commits
2 Commits
6fdd25ae4b
...
f31b801c03
Author | SHA1 | Date | |
---|---|---|---|
f31b801c03 | |||
346b1a0ca9 |
@ -115,7 +115,7 @@ class PersistentDataManager implements IPersistentDataManager
|
||||
|
||||
if (count($modified) > 0) {
|
||||
if ($model instanceof ModelWithSlug && isset($modified['slug'])) {
|
||||
$modified['slug'] = $this->generateUniqueSlug($model, $modified['slug']);
|
||||
$diff['slug']['new'] = $modified['slug'] = $this->generateUniqueSlug($model, $modified['slug']);
|
||||
}
|
||||
|
||||
$modify->setId($id);
|
||||
|
Loading…
Reference in New Issue
Block a user