diff options
| author | Romain LE DISEZ <romain.git@ledisez.net> | 2009-07-19 00:49:47 +0200 |
|---|---|---|
| committer | Romain LE DISEZ <romain.git@ledisez.net> | 2009-07-19 00:49:47 +0200 |
| commit | 719c59e0402464a0e2b14915f6d10218ff5d4729 (patch) | |
| tree | 5dd3f18fd60fd63df114ecf5698d28ba39680af6 /modules/search/helpers | |
| parent | c78744d4f8a0cfad7ca5aa3d2867fb66d4c6b8c4 (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.
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 34eaecbd..dd18babb 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 { |
