Skip to content

Commit 7a256bc

Browse files
committed
Fix tag cloud link
Fixes #692
1 parent fc61ec9 commit 7a256bc

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

types/AbstractBaseType.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -350,9 +350,9 @@ public function renderMultiValue($values, \Doku_Renderer $R, $mode)
350350
* @param string $page the target to which should be linked
351351
* @param string $filter the filter to apply to the aggregations on $page
352352
* @param int $weight the scaled weight of the item. implemented as css font-size on the outside container
353-
* @param int $showCount count for the tag, only passed if summarize was set in config
353+
* @param int|null $showCount count for the tag, only passed if summarize was set in config
354354
*/
355-
public function renderTagCloudLink($value, \Doku_Renderer $R, $mode, $page, $filter, $weight, $showCount)
355+
public function renderTagCloudLink($value, \Doku_Renderer $R, $mode, $page, $filter, $weight, $showCount = null)
356356
{
357357
$value = $this->displayValue($value);
358358
if ($showCount) {

types/Color.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public function valueEditor($name, $rawvalue, $htmlID)
8282
/**
8383
* @inheritDoc
8484
*/
85-
public function renderTagCloudLink($value, \Doku_Renderer $R, $mode, $page, $filter, $weight, $showCount)
85+
public function renderTagCloudLink($value, \Doku_Renderer $R, $mode, $page, $filter, $weight, $showCount = null)
8686
{
8787
$color = $this->displayValue($value);
8888
if ($mode == 'xhtml') {

types/Media.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ public function valueEditor($name, $rawvalue, $htmlID)
121121
/**
122122
* @inheritDoc
123123
*/
124-
public function renderTagCloudLink($value, \Doku_Renderer $R, $mode, $page, $filter, $weight, $showCount)
124+
public function renderTagCloudLink($value, \Doku_Renderer $R, $mode, $page, $filter, $weight, $showCount = null)
125125
{
126126
$media = $this->displayValue($value);
127127
if ($mode == 'xhtml' && $this->getConfig()['mime'] == 'image/') {

0 commit comments

Comments
 (0)