diff options
Diffstat (limited to 'mod/defaultwidgets/actions/update.php')
-rw-r--r-- | mod/defaultwidgets/actions/update.php | 4 |
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"); } |