aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/annotations.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/annotations.php')
-rw-r--r--engine/lib/annotations.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/engine/lib/annotations.php b/engine/lib/annotations.php
index 7f5ab93f2..806e3699f 100644
--- a/engine/lib/annotations.php
+++ b/engine/lib/annotations.php
@@ -526,7 +526,11 @@ $timelower = 0, $timeupper = 0) {
}
if ($owner_guid) {
- $options['annotation_owner_guid'] = $owner_guid;
+ if (is_array($owner_guid)) {
+ $options['annotation_owner_guids'] = $owner_guid;
+ } else {
+ $options['annotation_owner_guid'] = $owner_guid;
+ }
}
if ($group_guid) {