From 9af90ffc9a20033ca9fdd9182122c01600a0867b Mon Sep 17 00:00:00 2001 From: brettp Date: Thu, 30 Sep 2010 02:39:55 +0000 Subject: Fixed typo in previous commit. git-svn-id: http://code.elgg.org/elgg/trunk@6980 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/elgglib.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'engine') diff --git a/engine/lib/elgglib.php b/engine/lib/elgglib.php index 3a4fb0467..c00a88e84 100644 --- a/engine/lib/elgglib.php +++ b/engine/lib/elgglib.php @@ -2160,7 +2160,7 @@ function elgg_is_sticky_form($form_name) { * @todo should this filter the default value? * @link http://docs.elgg.org/Tutorials/UI/StickyForms */ -function elgg_get_sticky_value($form_name, $variable, $default = NULL, $filter_result = true) { +function elgg_get_sticky_value($form_name, $variable='', $default = NULL, $filter_result = true) { if (isset($_SESSION['sticky_forms'][$form_name][$variable])) { $value = $_SESSION['sticky_forms'][$form_name][$variable]; if ($filter_result) { @@ -2366,7 +2366,7 @@ function elgg_get_nav_items() { // make sure the url is a valid link. // this prevents disabled plugins leaving behind // valid links when not using a pagehandler. - if ($featured_url_info) { + if ($featured_urls_info) { foreach ($featured_urls_info as $info) { if (in_array($info->value->url, $valid_urls)) { $featured_urls[] = $info->value->url; @@ -2622,4 +2622,4 @@ register_elgg_event_handler('init', 'system', 'elgg_init'); register_plugin_hook('unit_test', 'system', 'elgg_api_test'); register_elgg_event_handler('init', 'system', 'add_custom_menu_items', 1000); -register_elgg_event_handler('init', 'system', 'elgg_walled_garden', 1000); \ No newline at end of file +register_elgg_event_handler('init', 'system', 'elgg_walled_garden', 1000); -- cgit v1.2.3