Fix #3911: Error thrown in UrlRule for non existing user names

This commit is contained in:
buddh4 2020-03-11 16:32:40 +01:00
parent 66891348e9
commit 1a05660361
2 changed files with 3 additions and 4 deletions

View File

@ -5,6 +5,7 @@ HumHub Change Log
---------------------
- Fix #3908: `DateHelper::parseDateTime()` returns invalid date if given value is not parsable
- Fix #3905: `accountTopMenu` renders redundant `<li>` tag
- Fix #3911: Error thrown in UrlRule for non existing user names
1.4.3 (March 4, 2020)
---------------------

View File

@ -77,12 +77,10 @@ class UrlRule extends BaseObject implements UrlRuleInterface
}
$params = $request->get();
$params['cguid'] = $user->guid;
} else {
// Allow controller to handle 404
$params['cguid'] = 'not found';
return [$parts[2] , $params];
}
return [$parts[2], $params];
return false;
}
/**