summaryrefslogtreecommitdiff
path: root/modules/taxonomy.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2005-10-18 14:40:00 +0000
committerDries Buytaert <dries@buytaert.net>2005-10-18 14:40:00 +0000
commit782d5c98c9b37f1d22152af53c6b0604674c38c8 (patch)
treeea0cc85712e0efaf3234d57f93799c9a5dacdbeb /modules/taxonomy.module
parent7f5f3ac6c8d3fc505ee309befb781233b28155da (diff)
downloadbrdo-782d5c98c9b37f1d22152af53c6b0604674c38c8.tar.gz
brdo-782d5c98c9b37f1d22152af53c6b0604674c38c8.tar.bz2
- Patch #33752 by leafish_paul / adrian: added missing apostrophes to the form API code.
Diffstat (limited to 'modules/taxonomy.module')
-rw-r--r--modules/taxonomy.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/taxonomy.module b/modules/taxonomy.module
index 6bf1bdc18..04b699463 100644
--- a/modules/taxonomy.module
+++ b/modules/taxonomy.module
@@ -519,7 +519,7 @@ function taxonomy_node_form($node) {
}
$typed_string = implode(', ', $typed_terms) . (array_key_exists('tags', $terms) ? $terms['tags'][$vocabulary->vid] : NULL);
- $form['taxonomy']['tags'][$vocabulary->vid] = array('#type' => textfield, '#default_value' => $typed_string, '#size' => 60, '#maxlength' => 100, '#autocomplete_path' => 'taxonomy/autocomplete/'. $vocabulary->vid, '#required' => $vocabulary->required, '#title' => $vocabulary->name, '#description' => t('A comma-separated list of terms describing this content (Example: funny, bungie jumping, "Company, Inc.").'));
+ $form['taxonomy']['tags'][$vocabulary->vid] = array('#type' => 'textfield', '#default_value' => $typed_string, '#size' => 60, '#maxlength' => 100, '#autocomplete_path' => 'taxonomy/autocomplete/'. $vocabulary->vid, '#required' => $vocabulary->required, '#title' => $vocabulary->name, '#description' => t('A comma-separated list of terms describing this content (Example: funny, bungie jumping, "Company, Inc.").'));
}
else {
$ntterms = array_key_exists('taxonomy', $node) ? $terms : array_keys($terms);