Skip to content

Commit a7d5c2c

Browse files
committed
Fix issue when default is missing
Thanks to Amadex for reporting https://forum.hestiacp.com/t/hestia-dns-cluster/1297/10?u=eris
1 parent 4c5ffc7 commit a7d5c2c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

web/edit/user/index.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@
5858
$v_time = $data[$v_username]['TIME'];
5959
$v_date = $data[$v_username]['DATE'];
6060

61+
if(empty($v_phpcli)){
62+
$v_phpcli = substr(DEFAULT_PHP_VERSION,4);
63+
}
64+
6165
// List packages
6266
exec (HESTIA_CMD."v-list-user-packages json", $output, $return_var);
6367
$packages = json_decode(implode('', $output), true);

0 commit comments

Comments
 (0)