aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/relationships.php
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2011-11-18 17:50:36 -0500
committercash <cash.costello@gmail.com>2011-11-18 17:50:36 -0500
commit30630b3a25e37430d966af6e6af933b7d000ab1a (patch)
tree78217703e860125d43b592ab65d0b4ab2a9ca5a5 /engine/lib/relationships.php
parent15f02eea51f0f0eb92e427b627324d58af166e5e (diff)
downloadelgg-30630b3a25e37430d966af6e6af933b7d000ab1a.tar.gz
elgg-30630b3a25e37430d966af6e6af933b7d000ab1a.tar.bz2
Fixes #4118 returning bool from leave group functions
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 3578f0cb8..5b7080b56 100644
--- a/engine/lib/relationships.php
+++ b/engine/lib/relationships.php
@@ -158,7 +158,7 @@ function remove_entity_relationship($guid_one, $relationship, $guid_two) {
and relationship='$relationship'
and guid_two=$guid_two";
- return delete_data($query);
+ return (bool)delete_data($query);
} else {
return false;
}