From 15fd80978f5cfd56038fd077f92a6ec860d86847 Mon Sep 17 00:00:00 2001 From: cash Date: Thu, 6 Jan 2011 01:11:00 +0000 Subject: Fixes test for $relationship_guid in sql generating function git-svn-id: http://code.elgg.org/elgg/trunk@7845 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/relationships.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine/lib') 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 ''; } -- cgit v1.2.3