Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 4.1.2
-
Fix Version/s: 4.2.0-b1
-
Component/s: None
-
Labels:None
Description
Reported here: https://www.blesta.com/forums/index.php?/topic/10568-cpanel-module-edit-service/
Undefined index: cpanel_domain on line 968 in /public_html/components/modules/cpanel/cpanel.php
The module assumes that a domain will be submitted when editing a service but this is not the case when changing servers. We should add an error check.
if (isset($vars['cpanel_domain'])) { $vars['cpanel_domain'] = $this->formatDomain($vars['cpanel_domain']); }