aboutsummaryrefslogtreecommitdiff
path: root/actions/plugins/usersettings/save.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/plugins/usersettings/save.php')
-rw-r--r--actions/plugins/usersettings/save.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/plugins/usersettings/save.php b/actions/plugins/usersettings/save.php
index c6214f68d..71ad2ad7b 100644
--- a/actions/plugins/usersettings/save.php
+++ b/actions/plugins/usersettings/save.php
@@ -39,8 +39,8 @@ if (!$user->canEdit()) {
$result = false;
-if (elgg_action_exists("usersettings/$plugin_id/save")) {
- action("usersettings/$plugin_id/save");
+if (elgg_action_exists("$plugin_id/usersettings/save")) {
+ action("$plugin_id/usersettings/save");
} else {
foreach ($params as $k => $v) {
// Save