From 2f148722fa1cb0272e4edb0f29750c0cdae154e4 Mon Sep 17 00:00:00 2001 From: Christopher York Date: Thu, 22 Aug 2013 22:57:28 -0500 Subject: [PATCH] Incorrect method name for changeUserPassword --- .../modules/servers/websitepanel/websitepanel.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/WebsitePanel.WHMCSModule/modules/servers/websitepanel/websitepanel.php b/WebsitePanel.WHMCSModule/modules/servers/websitepanel/websitepanel.php index ea5c8c05..f322d709 100644 --- a/WebsitePanel.WHMCSModule/modules/servers/websitepanel/websitepanel.php +++ b/WebsitePanel.WHMCSModule/modules/servers/websitepanel/websitepanel.php @@ -310,10 +310,10 @@ function websitepanel_ChangePassword($params) else { // Attempt to change the user's account password - $result = $wsp->change_user_password($user['UserId'], $password); + $result = $wsp->changeUserPassword($user['UserId'], $password); if ($result >= 0) { - // Log this action for logging / tracking purposes incase the client complains we have record of what went on and why + // Log this action for logging / tracking purposes incase the client complains we have record of what went on and why logActivity("Control Panel Password Updated - Service ID: {$serviceId}", $userId); // Success - Alert WHMCS