diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-09-26 23:31:36 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-09-26 23:31:36 +0000 |
commit | 3780b17654a2af093c854f9c32bd2d6e102ec16c (patch) | |
tree | 0289b1288109ca1baecbddc7192f1cea84227e3a /modules/search | |
parent | 88bc80a5974a5ff6bfedf0083934e791bf7cfcd7 (diff) | |
download | brdo-3780b17654a2af093c854f9c32bd2d6e102ec16c.tar.gz brdo-3780b17654a2af093c854f9c32bd2d6e102ec16c.tar.bz2 |
- Patch #921606 by munzirtaha, bleen18: various code uses is_null().
Diffstat (limited to 'modules/search')
-rw-r--r-- | modules/search/search.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/search/search.module b/modules/search/search.module index e4f4130ba..5c295e555 100644 --- a/modules/search/search.module +++ b/modules/search/search.module @@ -959,7 +959,7 @@ function search_form($form, &$form_state, $action = '', $keys = '', $type = NULL if (!$action) { $action = 'search/' . $module_info['path']; } - if (is_null($prompt)) { + if (!isset($prompt)) { $prompt = t('Enter your keywords'); } |