summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Hutterer2012-07-10 14:30:40 (GMT)
committer Matthias Hutterer2012-07-10 14:30:40 (GMT)
commitf3ad6dc33629ec33db58aaee678fab26967349bb (patch)
treede258107ae008869a02f23c6807f9e532e779376
parent6bfabf55319aa36b467c376f849cfefb43954f9a (diff)
Fixed hierarchy indentation.
-rw-r--r--content_taxonomy.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/content_taxonomy.module b/content_taxonomy.module
index 2b3db2b..03b5e16 100644
--- a/content_taxonomy.module
+++ b/content_taxonomy.module
@@ -69,7 +69,7 @@ function content_taxonomy_allowed_values($field) {
$max_depth = (isset($tree['depth']) && !empty($tree['depth'])) ? $tree['depth'] : NULL;
if ($terms = taxonomy_get_tree($vocabulary->vid, $tree['parent'], $max_depth)) {
foreach ($terms as $term) {
- $options[$term->tid] = str_repeat('-', $term->depth) . $term->name;
+ $options[$term->tid] = str_repeat('- ', $term->depth) . $term->name;
}
}
}