Commit c0231325 authored by Thomas Löffler's avatar Thomas Löffler
Browse files

Merge branch 'bugfix/459' into 'develop'

[BUGFIX] Use current user if no owner was specified

Closes #459

See merge request t3o/ter!528
parents 75060807 a60d6dd0
Pipeline #9263 passed with stages
in 11 minutes and 1 second
......@@ -250,7 +250,7 @@ class tx_ter_api
$user,
$registerExtensionKeyData->title ?? '',
$registerExtensionKeyData->description ?? '',
$registerExtensionKeyData->ownerUsername ?? ''
$registerExtensionKeyData->ownerUsername ?? $user->getUsername()
);
$resultCode = ResultCodes::RESULT_EXTENSIONKEYSUCCESSFULLYREGISTERED;
} catch (\T3o\Ter\Exception\InvalidExtensionKeyFormatException $e) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment