diff options
author | Cash Costello <cash.costello@gmail.com> | 2011-06-05 12:14:47 +0000 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2011-06-05 12:14:47 +0000 |
commit | ea8ea3c610582c8d564c5be38bc91b1987410a6b (patch) | |
tree | c09b9970fd7320f74fd4d1815692369dded39bab /pages/edit_multiple.php | |
parent | a1c32cf049031a463b1d7bb49a5c2957924d83a5 (diff) | |
download | elgg-ea8ea3c610582c8d564c5be38bc91b1987410a6b.tar.gz elgg-ea8ea3c610582c8d564c5be38bc91b1987410a6b.tar.bz2 |
merged in r580 and r581 into trunk
Diffstat (limited to 'pages/edit_multiple.php')
-rw-r--r-- | pages/edit_multiple.php | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/pages/edit_multiple.php b/pages/edit_multiple.php index 938ac203c..7c7b989cf 100644 --- a/pages/edit_multiple.php +++ b/pages/edit_multiple.php @@ -15,7 +15,14 @@ set_page_owner(get_loggedin_userid()); $batch = get_input('batch'); if ($batch) { - $images = get_entities_from_metadata('batch', $batch, 'object', 'image', get_loggedin_userid(), 100); + $images = elgg_get_entities_from_metadata(array( + 'metadata_name' => 'batch', + 'metadata_value' => $batch, + 'type' => 'object', + 'subtype' => 'image', + 'owner_guid' => get_loggedin_userid(), + 'limit' => ELGG_ENTITIES_NO_VALUE, + )); } else { // parse out photo guids $file_string = get_input('files'); |