We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1eaf867 commit 9e12cb3Copy full SHA for 9e12cb3
includes/fapi.inc
@@ -104,7 +104,7 @@ function kalatheme_textfield($variables) {
104
$output = '<input' . drupal_attributes($element['#attributes']) . ' />';
105
106
$extra = '';
107
- if (isset($element['#autocomplete_path']) && drupal_valid_path($element['#autocomplete_path'])) {
+ if (!empty($element['#autocomplete_path']) && drupal_valid_path($element['#autocomplete_path'])) {
108
drupal_add_library('system', 'drupal.autocomplete');
109
$element ['#attributes']['class'][] = 'form-autocomplete';
110
0 commit comments