diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-05-05 15:49:04 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-05-05 15:49:04 +0000 |
commit | 7cd9bebc6cff59caf70d2c0c3f5bbd62427c1f9a (patch) | |
tree | c0f5854fc4bc86e59bffcabf726319f60ebdb421 /modules/rdf | |
parent | 25da67d48e0d69ff75470ff00ef13a06170e450b (diff) | |
download | brdo-7cd9bebc6cff59caf70d2c0c3f5bbd62427c1f9a.tar.gz brdo-7cd9bebc6cff59caf70d2c0c3f5bbd62427c1f9a.tar.bz2 |
- Patch #775220 by aspilicious, droplet: no underscore in CSS class name.
Diffstat (limited to 'modules/rdf')
-rw-r--r-- | modules/rdf/rdf.module | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/rdf/rdf.module b/modules/rdf/rdf.module index 4602fae17..6e49699f0 100644 --- a/modules/rdf/rdf.module +++ b/modules/rdf/rdf.module @@ -502,7 +502,7 @@ function rdf_preprocess_node(&$variables) { // Adds RDFa markup annotating the number of comments a node has. if (isset($variables['node']->comment_count) && !empty($variables['node']->rdf_mapping['comment_count']['predicates'])) { // Annotates the 'x comments' link in teaser view. - if (isset($variables['content']['links']['comment']['#links']['comment_comments'])) { + if (isset($variables['content']['links']['comment']['#links']['comment-comments'])) { $comment_count_attributes['property'] = $variables['node']->rdf_mapping['comment_count']['predicates']; $comment_count_attributes['content'] = $variables['node']->comment_count; $comment_count_attributes['datatype'] = $variables['node']->rdf_mapping['comment_count']['datatype']; @@ -512,7 +512,7 @@ function rdf_preprocess_node(&$variables) { // we set an empty rel attribute which triggers rule number 5. See // http://www.w3.org/TR/rdfa-syntax/#sec_5.5. $comment_count_attributes['rel'] = ''; - $variables['content']['links']['comment']['#links']['comment_comments']['attributes'] += $comment_count_attributes; + $variables['content']['links']['comment']['#links']['comment-comments']['attributes'] += $comment_count_attributes; } // In full node view, the number of comments is not displayed by // node.tpl.php so it is expressed in RDFa in the <head> tag. |