Merge branch '2.2' into 2.3

This commit is contained in:
Daniel Hensby 2017-07-20 10:31:55 +01:00
commit df68e34398
No known key found for this signature in database
GPG Key ID: B00D1E9767F0B06E
2 changed files with 4 additions and 5 deletions

View File

@ -12,8 +12,6 @@ env:
- DB=MYSQL CORE_RELEASE=3.1
matrix:
allow_failures:
- php: hhvm-nightly
include:
- php: 5.6
env: DB=MYSQL
@ -23,9 +21,6 @@ matrix:
env: DB=MYSQL
- php: 5.3
env: DB=MYSQL
- php: hhvm
env: DB=MYSQL
before_install:
before_script:

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