aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-01-06 01:11:00 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-01-06 01:11:00 +0000
commit15fd80978f5cfd56038fd077f92a6ec860d86847 (patch)
treea7752281f17641f7370c924f26f779631511446b /engine/lib
parent9dc42a9254fe971e8d4765a62ee83bc70a1d2fb7 (diff)
downloadelgg-15fd80978f5cfd56038fd077f92a6ec860d86847.tar.gz
elgg-15fd80978f5cfd56038fd077f92a6ec860d86847.tar.bz2
Fixes test for $relationship_guid in sql generating function
git-svn-id: http://code.elgg.org/elgg/trunk@7845 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib')
-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 '';
}