Skip to content

Commit d464b94

Browse files
committed
improvements to the directadmin activation domain field ip address usage fixing coding error
1 parent de1d1a8 commit d464b94

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/directadmin.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ function activate_directadmin($ipAddress, $ostype, $pass, $email, $name, $domain
269269
'name' => $name,
270270
'pid' => $pid,
271271
'os' => $ostype,
272-
'domain' => $domain != '' ? $domain : $post['ip'],
272+
'domain' => $domain != '' ? $domain : $ipAddress,
273273
'payment' => 'balance',
274274
'ip' => $ipAddress,
275275
'pass1' => $pass,

0 commit comments

Comments
 (0)