Skip to content
Snippets Groups Projects
Commit bc149ab2 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #33128 by Morbus: %num -> %count to make format_plural() work.

parent 6e45b2f9
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -101,7 +101,7 @@ function tracker_page($uid = 0) {
if ($new = comment_num_new($node->nid)) {
$comments .= '<br />';
$comments .= l(format_plural($new, '1 new', '%num new'), "node/$node->nid", NULL, NULL, 'new');
$comments .= l(format_plural($new, '1 new', '%count new'), "node/$node->nid", NULL, NULL, 'new');
}
}
......
......@@ -101,7 +101,7 @@ function tracker_page($uid = 0) {
if ($new = comment_num_new($node->nid)) {
$comments .= '<br />';
$comments .= l(format_plural($new, '1 new', '%num new'), "node/$node->nid", NULL, NULL, 'new');
$comments .= l(format_plural($new, '1 new', '%count new'), "node/$node->nid", NULL, NULL, 'new');
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment