diff options
author | cash <cash.costello@gmail.com> | 2011-11-18 17:41:58 -0500 |
---|---|---|
committer | cash <cash.costello@gmail.com> | 2011-11-28 21:43:59 -0500 |
commit | 337abf7ce0a68f4a2fe57036092c3188ba4f42f7 (patch) | |
tree | ad9651271a25cd100b94a65a332cedb020010d7e | |
parent | ed1f8a1735560a7299f0a517af02b4d420034ee2 (diff) | |
download | elgg-337abf7ce0a68f4a2fe57036092c3188ba4f42f7.tar.gz elgg-337abf7ce0a68f4a2fe57036092c3188ba4f42f7.tar.bz2 |
Fixes #4113 returning a bool from delete_access_collection()
-rw-r--r-- | engine/lib/access.php | 3 |
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; } /** |