diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-18 20:55:20 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-18 20:55:20 +0000 |
commit | 238ea1bef617e8a695e6b425e414ac686f7c3998 (patch) | |
tree | af3e1d341981765aff42a0163380ef39ac9dee3a /views/default/forms | |
parent | c46233a8a32bb6848f85c70d015f7b9f9dd73ad1 (diff) | |
download | elgg-238ea1bef617e8a695e6b425e414ac686f7c3998.tar.gz elgg-238ea1bef617e8a695e6b425e414ac686f7c3998.tar.bz2 |
Fixed plugin settings save form.
git-svn-id: http://code.elgg.org/elgg/trunk@8296 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/forms')
-rw-r--r-- | views/default/forms/plugins/settings/save.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/views/default/forms/plugins/settings/save.php b/views/default/forms/plugins/settings/save.php index 3cb4a1472..5125f3142 100644 --- a/views/default/forms/plugins/settings/save.php +++ b/views/default/forms/plugins/settings/save.php @@ -6,7 +6,7 @@ * @subpackage Plugins */ -$plugin = $vars['plugin']; +$plugin = $vars['entity']; $plugin_id = $plugin->getID(); $user_guid = elgg_extract('user_guid', $vars, elgg_get_logged_in_user_guid()); @@ -22,5 +22,5 @@ echo elgg_view("{$type}settings/$plugin_id/edit", $vars); echo "<div>"; echo elgg_view('input/hidden', array('name' => 'plugin_id', 'value' => $plugin_id)); echo elgg_view('input/hidden', array('name' => 'user_guid', 'value' => $user_guid)); -echo elgg_view('input/submit', array('value' => elgg_echo('save'))); +echo elgg_view('input/submit', array('value' => elgg_echo('save'))); echo "</div>"; |