diff options
| author | Tim Almdal <tnalmdal@shaw.ca> | 2009-07-23 09:29:29 -0700 |
|---|---|---|
| committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-07-23 09:29:29 -0700 |
| commit | ac23b9be185d98e3b672dc4c9051dba1ec9d10fc (patch) | |
| tree | 73b50afb60202930d7bed2ef982eef0be0106fe0 /modules/search | |
| parent | fa0c17ab5be2724b7fa850f2077afe7e69d6ef4d (diff) | |
| parent | 7f1a7ead589ce85e029ff0eb7f7e88bd04b8c8cb (diff) | |
Merge branch 'master' of git@github.com:gallery/gallery3
Diffstat (limited to 'modules/search')
| -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 { |
