aboutsummaryrefslogtreecommitdiff
path: root/services/export/handler.php
diff options
context:
space:
mode:
Diffstat (limited to 'services/export/handler.php')
-rw-r--r--services/export/handler.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/export/handler.php b/services/export/handler.php
index 9e7c5fe26..f37921bef 100644
--- a/services/export/handler.php
+++ b/services/export/handler.php
@@ -92,7 +92,7 @@
if ($r)
{
if (
- ($r->guid_one!=$entity->guid) ||
+ ($r->guid_one!=$entity->guid) &&
($r->guid_two!=$entity->guid)
)
throw new InvalidParameterException(elgg_echo('InvalidParameterException:DoesNotBelongOrRefer'));