aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/admin.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/admin.php')
-rw-r--r--engine/lib/admin.php4
1 files changed, 2 insertions, 2 deletions
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);