From 8d62572ff8c2b5bde2c2a933c5b0268d5984a879 Mon Sep 17 00:00:00 2001 From: Brett Profitt Date: Sun, 22 Jan 2012 13:02:53 -0800 Subject: Fixes #4321. Limit alone is no longer valid for batch delete operations for metadata or annotations. --- engine/lib/elgglib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine/lib/elgglib.php') diff --git a/engine/lib/elgglib.php b/engine/lib/elgglib.php index 38ae73d82..5a8c89a56 100644 --- a/engine/lib/elgglib.php +++ b/engine/lib/elgglib.php @@ -1970,7 +1970,7 @@ function elgg_is_valid_options_for_batch_operation($options, $type) { // at least one of these is required. $required = array( // generic restraints - 'guid', 'guids', 'limit' + 'guid', 'guids' ); switch ($type) { -- cgit v1.2.3