Merge branch '2'
This commit is contained in:
commit
b444db1af8
|
@ -50,6 +50,10 @@ class BlogMemberExtension extends DataExtension
|
||||||
{
|
{
|
||||||
$count = 1;
|
$count = 1;
|
||||||
|
|
||||||
|
if ($this->owner->URLSegment && !$this->owner->isChanged('FirstName') && !$this->owner->isChanged('Surname')) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
$this->owner->URLSegment = $this->generateURLSegment();
|
$this->owner->URLSegment = $this->generateURLSegment();
|
||||||
|
|
||||||
while (!$this->validURLSegment()) {
|
while (!$this->validURLSegment()) {
|
||||||
|
|
Loading…
Reference in New Issue