From 76d3b27335145459e1b9da4e07cf37ad8bd050c1 Mon Sep 17 00:00:00 2001 From: nickw Date: Tue, 25 May 2010 22:18:22 +0000 Subject: Updating administration plugins with admin submenu views. git-svn-id: http://code.elgg.org/elgg/trunk@6220 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/defaultwidgets/actions/update.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mod/defaultwidgets/actions/update.php') 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"); } -- cgit v1.2.3