Compare commits
No commits in common. "f31b801c0386d32277fb72aec6ce81a1674f8134" and "6fdd25ae4bd5971777fdfafb78b4e42632ddea5f" have entirely different histories.
f31b801c03
...
6fdd25ae4b
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user