aboutsummaryrefslogtreecommitdiff
path: root/actions/plugins/settings/save.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/plugins/settings/save.php')
-rw-r--r--actions/plugins/settings/save.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/plugins/settings/save.php b/actions/plugins/settings/save.php
index 3b5694039..e94127f7c 100644
--- a/actions/plugins/settings/save.php
+++ b/actions/plugins/settings/save.php
@@ -26,8 +26,8 @@ $plugin_name = $plugin->getManifest()->getName();
$result = false;
// allow a plugin to override the save action for their settings
-if (elgg_action_exists("settings/$plugin_id/save")) {
- action("settings/$plugin_id/save");
+if (elgg_action_exists("$plugin_id/settings/save")) {
+ action("$plugin_id/settings/save");
} else {
foreach ($params as $k => $v) {
$result = $plugin->setSetting($k, $v);