diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-01-13 23:19:54 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-01-13 23:19:54 +0000 |
commit | f60739b033efb6fc47e07bd7732fecf8222793c0 (patch) | |
tree | 8d814d27d0c22d5fb310f4b64984385b53fbb16f /modules/profile | |
parent | 6a5532a2589463de93cc96ce6b71a7af94d39d9b (diff) | |
download | brdo-f60739b033efb6fc47e07bd7732fecf8222793c0.tar.gz brdo-f60739b033efb6fc47e07bd7732fecf8222793c0.tar.bz2 |
- Patch #683736 by c960657: use db_like() where appropriate.
Diffstat (limited to 'modules/profile')
-rw-r--r-- | modules/profile/profile.pages.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/profile/profile.pages.inc b/modules/profile/profile.pages.inc index bfc23e221..346223285 100644 --- a/modules/profile/profile.pages.inc +++ b/modules/profile/profile.pages.inc @@ -53,7 +53,7 @@ function profile_browse() { $query->condition('v.value', $value); break; case 'list': - $query->condition('v.value', '%' . $value . '%', 'LIKE'); + $query->condition('v.value', '%' . db_like($value) . '%', 'LIKE'); break; default: drupal_not_found(); |