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.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/plugins/usersettings/save.php b/actions/plugins/usersettings/save.php
index 794ce4046..9c1657388 100644
--- a/actions/plugins/usersettings/save.php
+++ b/actions/plugins/usersettings/save.php
@@ -39,7 +39,7 @@ if (!$user->canEdit()) {
$result = false;
-if (elgg_action_exist("usersettings/$plugin_id/save")) {
+if (elgg_action_exists("usersettings/$plugin_id/save")) {
action("usersettings/$plugin_id/save");
} else {
foreach ($params as $k => $v) {