diff options
author | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-15 01:05:45 +0000 |
---|---|---|
committer | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-15 01:05:45 +0000 |
commit | 9ce11d138f9868b872fe8206dbc3c2f44723605a (patch) | |
tree | 273a2aed762c62eea3ac329649b42326a2d91438 /mod/pages | |
parent | 76e70b79acc60358a7225c0976fd6b7f2fe3c74f (diff) | |
download | elgg-9ce11d138f9868b872fe8206dbc3c2f44723605a.tar.gz elgg-9ce11d138f9868b872fe8206dbc3c2f44723605a.tar.bz2 |
Fixes #2808: elgg_get_array_value => elgg_extract
git-svn-id: http://code.elgg.org/elgg/trunk@8247 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/pages')
-rw-r--r-- | mod/pages/views/default/object/page_top.php | 6 | ||||
-rw-r--r-- | mod/pages/views/default/pages/sidebar/navigation.php | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/mod/pages/views/default/object/page_top.php b/mod/pages/views/default/object/page_top.php index 89ef25572..1e1e5251d 100644 --- a/mod/pages/views/default/object/page_top.php +++ b/mod/pages/views/default/object/page_top.php @@ -10,9 +10,9 @@ */ -$full = elgg_get_array_value('full', $vars, FALSE); -$page = elgg_get_array_value('entity', $vars, FALSE); -$revision = elgg_get_array_value('revision', $vars, FALSE); +$full = elgg_extract('full', $vars, FALSE); +$page = elgg_extract('entity', $vars, FALSE); +$revision = elgg_extract('revision', $vars, FALSE); if (!$page) { return TRUE; diff --git a/mod/pages/views/default/pages/sidebar/navigation.php b/mod/pages/views/default/pages/sidebar/navigation.php index 43790a976..fe017b1a7 100644 --- a/mod/pages/views/default/pages/sidebar/navigation.php +++ b/mod/pages/views/default/pages/sidebar/navigation.php @@ -5,7 +5,7 @@ * @uses $vars['page'] Page object if manually setting selected item */ -$selected_page = elgg_get_array_value('page', $vars, false); +$selected_page = elgg_extract('page', $vars, false); if ($selected_page) { $url = $selected_page->getURL(); } |