Skip to content

Commit d180cd5

Browse files
committed
php7.4 updates
1 parent d464b94 commit d180cd5

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
@@ -256,7 +256,7 @@ function activate_directadmin($ipAddress, $ostype, $pass, $email, $name, $domain
256256
CURLOPT_REFERER => 'https://www.directadmin.com/clients/createlicense.php'
257257
];
258258
if (strpos($ostype, ',') !== false) {
259-
list($pid, $os) = explode(',', $ostype);
259+
[$pid, $os] = explode(',', $ostype);
260260
$ostype = $os;
261261
} else {
262262
$pid = 2712;

0 commit comments

Comments
 (0)