aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2011-11-18 17:41:58 -0500
committercash <cash.costello@gmail.com>2011-11-28 21:43:59 -0500
commit337abf7ce0a68f4a2fe57036092c3188ba4f42f7 (patch)
treead9651271a25cd100b94a65a332cedb020010d7e /engine/lib
parented1f8a1735560a7299f0a517af02b4d420034ee2 (diff)
downloadelgg-337abf7ce0a68f4a2fe57036092c3188ba4f42f7.tar.gz
elgg-337abf7ce0a68f4a2fe57036092c3188ba4f42f7.tar.bz2
Fixes #4113 returning a bool from delete_access_collection()
Diffstat (limited to 'engine/lib')
-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;
}
/**