Fixed: WebsitePanel error codes not being converted properly

This commit is contained in:
Christopher York 2013-01-29 12:32:54 -06:00
parent a2c0a6b6eb
commit 880e35c634
2 changed files with 19 additions and 11 deletions

View file

@ -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))