mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
Merge branch '2.4' into 2
This commit is contained in:
commit
c110b4e2e1
@ -37,6 +37,10 @@ class BlogMemberExtension extends DataExtension
|
||||
{
|
||||
$count = 1;
|
||||
|
||||
if ($this->owner->URLSegment && !$this->owner->isChanged('FirstName') && !$this->owner->isChanged('Surname')) {
|
||||
return;
|
||||
}
|
||||
|
||||
$this->owner->URLSegment = $this->generateURLSegment();
|
||||
|
||||
while (!$this->validURLSegment()) {
|
||||
|
Loading…
Reference in New Issue
Block a user