aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2011-11-18 17:41:58 -0500
committercash <cash.costello@gmail.com>2011-11-18 17:41:58 -0500
commit3d975e028c3d5bde2ee8a5c9e09d7650b8f3c505 (patch)
tree4a9f52b4637e4853f6a878e864b81a0e8520d27c /engine
parentafba00a6f029366be6ce0972042832dd3b9adaf8 (diff)
downloadelgg-3d975e028c3d5bde2ee8a5c9e09d7650b8f3c505.tar.gz
elgg-3d975e028c3d5bde2ee8a5c9e09d7650b8f3c505.tar.bz2
Fixes #4113 returning a bool from delete_access_collection()
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/access.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/engine/lib/access.php b/engine/lib/access.php
index 97f744fb9..ba3820f46 100644
--- a/engine/lib/access.php
+++ b/engine/lib/access.php
@@ -610,8 +610,7 @@ function delete_access_collection($collection_id) {
WHERE id = {$collection_id}";
$result = delete_data($q);
-
- return $result;
+ return (bool)$result;
}
/**