Skip to content

Commit 61d900a

Browse files
authored
extra provision settings needs the first character of the *key* stripping, not the value.
1 parent b6d73e4 commit 61d900a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/servers/AMP/AMP.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ function AMP_CreateAccount(array $params)
301301
foreach ($params['configoptions'] as $key => $value) {
302302
if($key[0] == '+')
303303
{
304-
$extraProvisionSettings[$key] = substr($value, 1);
304+
$extraProvisionSettings[substr($key,1)] = $value;
305305
}
306306
elseif($key[0] == '@')
307307
{

0 commit comments

Comments
 (0)