From 238ea1bef617e8a695e6b425e414ac686f7c3998 Mon Sep 17 00:00:00 2001 From: brettp Date: Fri, 18 Feb 2011 20:55:20 +0000 Subject: Fixed plugin settings save form. git-svn-id: http://code.elgg.org/elgg/trunk@8296 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/forms/plugins/settings/save.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'views') 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 "
"; 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 "
"; -- cgit v1.2.3