Merge branch '2.3' into 2.4

This commit is contained in:
Daniel Hensby 2017-07-20 10:33:06 +01:00
commit 0b6a2d710a
No known key found for this signature in database
GPG Key ID: B00D1E9767F0B06E

View File

@ -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()) {