summaryrefslogtreecommitdiff
path: root/modules/taxonomy/taxonomy.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2007-06-04 15:56:34 +0000
committerDries Buytaert <dries@buytaert.net>2007-06-04 15:56:34 +0000
commite629deb94dd3f2ee1bdfef9e081447e13b7d1f02 (patch)
tree2dc89fe1c62829d9e20b7da5974a56870a18252b /modules/taxonomy/taxonomy.module
parentf16f70a89e45cae4eb6ca41d72d751abfe95186f (diff)
downloadbrdo-e629deb94dd3f2ee1bdfef9e081447e13b7d1f02.tar.gz
brdo-e629deb94dd3f2ee1bdfef9e081447e13b7d1f02.tar.bz2
- Patch #146667 by Jeff Eaton: form API fixes.
Diffstat (limited to 'modules/taxonomy/taxonomy.module')
-rw-r--r--modules/taxonomy/taxonomy.module8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module
index 70a6d3881..c04750ecd 100644
--- a/modules/taxonomy/taxonomy.module
+++ b/modules/taxonomy/taxonomy.module
@@ -223,7 +223,7 @@ function taxonomy_overview_terms($vocabulary) {
/**
* Display form for adding and editing vocabularies.
*/
-function taxonomy_form_vocabulary($edit = array()) {
+function taxonomy_form_vocabulary(&$form_state, $edit = array()) {
$edit += array(
'name' => '',
'description' => '',
@@ -378,7 +378,7 @@ function taxonomy_del_vocabulary($vid) {
return SAVED_DELETED;
}
-function taxonomy_vocabulary_confirm_delete($vid) {
+function taxonomy_vocabulary_confirm_delete(&$form_state, $vid) {
$vocabulary = taxonomy_vocabulary_load($vid);
$form['type'] = array('#type' => 'value', '#value' => 'vocabulary');
@@ -401,7 +401,7 @@ function taxonomy_vocabulary_confirm_delete_submit($form, &$form_state) {
return;
}
-function taxonomy_form_term($vocabulary, $edit = array()) {
+function taxonomy_form_term(&$form_state, $vocabulary, $edit = array()) {
$edit += array(
'name' => '',
'description' => '',
@@ -614,7 +614,7 @@ function taxonomy_del_term($tid) {
return SAVED_DELETED;
}
-function taxonomy_term_confirm_delete($tid) {
+function taxonomy_term_confirm_delete(&$form_state, $tid) {
$term = taxonomy_get_term($tid);
$form['type'] = array('#type' => 'value', '#value' => 'term');