From: cash Date: Thu, 6 Jan 2011 01:11:00 +0000 (+0000) Subject: Fixes test for $relationship_guid in sql generating function X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=15fd80978f5cfd56038fd077f92a6ec860d86847;p=lorea%2Felgg.git Fixes test for $relationship_guid in sql generating function git-svn-id: http://code.elgg.org/elgg/trunk@7845 36083f99-b078-4883-b0ff-0f9b5a30f544 --- 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 ''; }