From 3fb60ed6b310a22d424d32b88568b410f8284d8b Mon Sep 17 00:00:00 2001 From: Christopher York Date: Thu, 10 Jan 2013 10:13:37 -0600 Subject: [PATCH] Fixed: Parse error: syntax error, unexpected T_BOOLEAN_OR --- WebsitePanel.WHMCSModule/includes/hooks/websitepanel_addons.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WebsitePanel.WHMCSModule/includes/hooks/websitepanel_addons.php b/WebsitePanel.WHMCSModule/includes/hooks/websitepanel_addons.php index 4666d0e4..5d628e81 100644 --- a/WebsitePanel.WHMCSModule/includes/hooks/websitepanel_addons.php +++ b/WebsitePanel.WHMCSModule/includes/hooks/websitepanel_addons.php @@ -54,7 +54,7 @@ function websitepanel_addons_AddonActivation($params) // Retrieve the WebsitePanel Addons module settings $modSettings = websitepanel_addons_GetSettings(); - if (empty($modSettings['username']) || empty($modSettings['password'])) || empty($modSettings['serverhost'])) || empty($modSettings['serverport']))) + if (empty($modSettings['username']) || empty($modSettings['password']) || empty($modSettings['serverhost']) || empty($modSettings['serverport'])) { // The module is disabled or has not yet been configured - stop return;