From: cash Date: Fri, 18 Nov 2011 22:41:58 +0000 (-0500) Subject: Fixes #4113 returning a bool from delete_access_collection() X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=337abf7ce0a68f4a2fe57036092c3188ba4f42f7;p=lorea%2Felgg.git Fixes #4113 returning a bool from delete_access_collection() --- 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; } /**