aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/relationships.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/relationships.php')
-rw-r--r--engine/lib/relationships.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/relationships.php b/engine/lib/relationships.php
index 123778d89..39d7cc745 100644
--- a/engine/lib/relationships.php
+++ b/engine/lib/relationships.php
@@ -300,7 +300,7 @@ function elgg_get_entities_from_relationship($options) {
function elgg_get_entity_relationship_where_sql($column, $relationship = NULL,
$relationship_guid = NULL, $inverse_relationship = FALSE) {
- if ($relationship == NULL && $entity_guid == NULL) {
+ if ($relationship == NULL && $relationship_guid == NULL) {
return '';
}