diff options
Diffstat (limited to 'modules/taxonomy/taxonomy.module')
-rw-r--r-- | modules/taxonomy/taxonomy.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module index ffb126e4a..2ed3de9df 100644 --- a/modules/taxonomy/taxonomy.module +++ b/modules/taxonomy/taxonomy.module @@ -215,7 +215,7 @@ function taxonomy_vocabulary_save($vocabulary) { if (empty($vocabulary->nodes)) { $vocabulary->nodes = array(); } - + if (!empty($vocabulary->name)) { // Prevent leading and trailing spaces in vocabulary names. $vocabulary->name = trim($vocabulary->name); |