From 9ce11d138f9868b872fe8206dbc3c2f44723605a Mon Sep 17 00:00:00 2001 From: ewinslow Date: Tue, 15 Feb 2011 01:05:45 +0000 Subject: Fixes #2808: elgg_get_array_value => elgg_extract git-svn-id: http://code.elgg.org/elgg/trunk@8247 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/admin.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engine/lib/admin.php') diff --git a/engine/lib/admin.php b/engine/lib/admin.php index 6d0b60101..854a978b5 100644 --- a/engine/lib/admin.php +++ b/engine/lib/admin.php @@ -345,9 +345,9 @@ function admin_settings_page_handler($page) { function admin_plugin_screenshot_page_handler($pages) { admin_gatekeeper(); - $plugin_id = elgg_get_array_value(0, $pages); + $plugin_id = elgg_extract(0, $pages); // only thumbnail or full. - $size = elgg_get_array_value(1, $pages, 'thumbnail'); + $size = elgg_extract(1, $pages, 'thumbnail'); // the rest of the string is the filename $filename_parts = array_slice($pages, 2); -- cgit v1.2.3