API sets unwanted defaults
short description
After using the api (web_domain_update) to disable just webalizer from a web, the api call sets some php values to default.
correct behaviour
If a want to just update one setting via the api, i should not need to set other defaults. especially if those should not be changed.
environment
Server OS: (debian)
Server OS version: (jessie)
ISPConfig version: (3.1.11)
proposed fix
remove this from all _update calls
if($params['log_retention'] == '') $params['log_retention'] = 30;
if($params['pm_max_children'] == '') $params['pm_max_children'] = 1;
if($params['pm_start_servers'] == '') $params['pm_start_servers'] = 1;
if($params['pm_min_spare_servers'] == '') $params['pm_min_spare_servers'] = 1;
if($params['pm_max_spare_servers'] == '') $params['pm_max_spare_servers'] = 1;