diff options
author | cash <cash.costello@gmail.com> | 2011-11-18 17:41:58 -0500 |
---|---|---|
committer | cash <cash.costello@gmail.com> | 2011-11-18 17:41:58 -0500 |
commit | 3d975e028c3d5bde2ee8a5c9e09d7650b8f3c505 (patch) | |
tree | 4a9f52b4637e4853f6a878e864b81a0e8520d27c | |
parent | afba00a6f029366be6ce0972042832dd3b9adaf8 (diff) | |
download | elgg-3d975e028c3d5bde2ee8a5c9e09d7650b8f3c505.tar.gz elgg-3d975e028c3d5bde2ee8a5c9e09d7650b8f3c505.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; } /** |