diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-19 22:51:23 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-19 22:51:23 +0000 |
commit | 1f68d84ee83efd73ce5fec5af7a14a1fb234977a (patch) | |
tree | c218e5282a9c536e921b35c2a8448c04cb4a8f05 /actions | |
parent | 8784c7282009b9cd14b166d57617525424ef94a5 (diff) | |
download | elgg-1f68d84ee83efd73ce5fec5af7a14a1fb234977a.tar.gz elgg-1f68d84ee83efd73ce5fec5af7a14a1fb234977a.tar.bz2 |
fixed a few bugs and updated the widget code
git-svn-id: http://code.elgg.org/elgg/trunk@7694 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'actions')
-rw-r--r-- | actions/widgets/save.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/actions/widgets/save.php b/actions/widgets/save.php index 8854d7810..a78f4ca75 100644 --- a/actions/widgets/save.php +++ b/actions/widgets/save.php @@ -11,7 +11,8 @@ $params = get_input('params'); $widget = get_entity($guid); if ($widget && $widget->saveSettings($params)) { - $view = "widgets/$widget->handler/view"; + elgg_set_page_owner_guid($widget->getContainerGUID()); + $view = "widgets/$widget->handler/content"; echo elgg_view($view, array('entity' => $widget)); } else { register_error(elgg_echo('widgets:save:failure')); |