diff options
author | Romain LE DISEZ <romain.git@ledisez.net> | 2009-07-19 00:49:47 +0200 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-07-23 09:11:55 -0700 |
commit | 350c1b02670d971d3a389f786f46fb9be2dec8ed (patch) | |
tree | 64b7bac43d4e725eaf218186400b321bf5b5adf0 /modules/search/helpers | |
parent | 5999ccb512d65ad9ae06a0a5542eb1123b44e9db (diff) |
Use BOOLEAN instead of integer to describe the permissions :
- DENY = false
- ALLOW = true
- UNKNOW = null (for intent only)
- INHERIT = null (for cache)
Upgrade is not included for now.
(cherry picked from commit 719c59e0402464a0e2b14915f6d10218ff5d4729)
Diffstat (limited to 'modules/search/helpers')
-rw-r--r-- | modules/search/helpers/search.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/search/helpers/search.php b/modules/search/helpers/search.php index 6317020f..b08cf89d 100644 --- a/modules/search/helpers/search.php +++ b/modules/search/helpers/search.php @@ -24,7 +24,7 @@ class search_Core { if (!user::active()->admin) { foreach (user::group_ids() as $id) { - $fields[] = "`view_$id` = " . access::ALLOW; + $fields[] = "`view_$id` = TRUE"; // access::ALLOW } $access_sql = "AND (" . join(" AND ", $fields) . ")"; } else { |