From 3780b17654a2af093c854f9c32bd2d6e102ec16c Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 26 Sep 2010 23:31:36 +0000 Subject: - Patch #921606 by munzirtaha, bleen18: various code uses is_null(). --- modules/search/search.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/search') 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'); } -- cgit v1.2.3