Error on sites_web_vhost_subdomain_add
i have tried to fork the project to my user in order to propose a merge about this fix, but can't do it (seems that i have no permission to create a project).
By the way, on that method lib/classes/remote.d/sites.inc.php:sites_web_vhost_subdomain_add this line
if($params['document_root'] == '') $params['document_root'] = '-';
should be instead return an error if document_root is empty. Otherwise the sites_web_vhost_subdomain_add does not work at all.