Compare commits

..

No commits in common. "f8988ad5c392ca34158c578f393b1a1b6524f994" and "214c370d6816e22ae11e5f665347213361d745c9" have entirely different histories.

View File

@ -56,7 +56,7 @@ class BlogMemberExtension extends DataExtension
$this->owner->URLSegment = $this->generateURLSegment();
while (!$this->validURLSegment()) {
$this->owner->URLSegment = preg_replace('/-[0-9]+$/', '', $this->owner->URLSegment) . '-' . $count;
$this->owner->URLSegment = preg_replace('/-[0-9]+$/', null, $this->owner->URLSegment) . '-' . $count;
$count++;
}