Fixed: WebsitePanel error codes not being converted properly
This commit is contained in:
parent
a2c0a6b6eb
commit
880e35c634
2 changed files with 19 additions and 11 deletions
|
@ -50,6 +50,7 @@ function websitepanel_GetErrorMessage($code)
|
|||
|
||||
// Include the common / known error codes
|
||||
require_once(ROOTDIR . '/modules/servers/websitepanel/websitepanel.errorcodes.php');
|
||||
$esErrorCodes = websitepanel_GetEnterpriseServerErrors();
|
||||
|
||||
// Check if the error code exists, if not return the code
|
||||
if (array_key_exists($code, $esErrorCodes))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue