aboutsummaryrefslogtreecommitdiff
path: root/mod/defaultwidgets/actions/update.php
diff options
context:
space:
mode:
authornickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-25 22:18:22 +0000
committernickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-25 22:18:22 +0000
commit76d3b27335145459e1b9da4e07cf37ad8bd050c1 (patch)
tree7ac84ed02686061d1ced1e1951598e30334da9c3 /mod/defaultwidgets/actions/update.php
parent6a64b7d0b595c97c4bef9a8fa22d567611fb3fd1 (diff)
downloadelgg-76d3b27335145459e1b9da4e07cf37ad8bd050c1.tar.gz
elgg-76d3b27335145459e1b9da4e07cf37ad8bd050c1.tar.bz2
Updating administration plugins with admin submenu views.
git-svn-id: http://code.elgg.org/elgg/trunk@6220 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/defaultwidgets/actions/update.php')
-rw-r--r--mod/defaultwidgets/actions/update.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/defaultwidgets/actions/update.php b/mod/defaultwidgets/actions/update.php
index aaf03430d..056ee6cec 100644
--- a/mod/defaultwidgets/actions/update.php
+++ b/mod/defaultwidgets/actions/update.php
@@ -49,13 +49,13 @@ if ($context && isset ( $leftbar ) && isset ( $middlebar ) && isset ( $rightbar
forward ( 'pg/admin' );
} else {
register_error ( elgg_echo ( 'defaultwidgets:update:failed' ) );
- forward ( 'pg/defaultwidgets/' . $context );
+ forward("pg/admin/appearance/default_{$context}_widgets");
}
} else {
// report incorrect parameters error
register_error ( elgg_echo ( 'defaultwidgets:update:noparams' ) );
- forward ( 'pg/defaultwidgets/' . $context );
+ forward("pg/admin/appearance/default_{$context}_widgets");
}