Skip to content
This repository was archived by the owner on Mar 30, 2024. It is now read-only.

Commit c9c6e3a

Browse files
committed
Fix #39
1 parent f00089a commit c9c6e3a

File tree

5 files changed

+2
-81
lines changed

5 files changed

+2
-81
lines changed

β€Žextensions/charts/index.jsonβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
"events" : {
55
"statsViewed" : "TTTCharts\\Charts::statsViewed"
66
},
7-
"version" : "v1.0.4"
7+
"version" : "v1.0.5"
88
}

β€Žextensions/charts/index.phpβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ private static function createBar(array $data) : string {
9292
$c .= '|' . \str_pad($name, $d - 1, " ", STR_PAD_BOTH);
9393
$fullLength += $d < 1 ? 1 : $d;
9494
}
95-
$c .= \str_repeat(" ", $lineLength - $fullLength) . '|' . PHP_EOL;
95+
$c .= \str_repeat(" ", $lineLength > $fullLength ? $lineLength - $fullLength : 0) . ($lineLength >= $fullLength ? '|' : '' ) . PHP_EOL;
9696
$c .= \str_repeat("-", $lineLength+1);
9797
return $c;
9898
}

β€Žextensions/disabled.txtβ€Ž

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
1-
milog
21
example
32
widget

β€Žextensions/milog/index.jsonβ€Ž

Lines changed: 0 additions & 9 deletions
This file was deleted.

β€Žextensions/milog/index.phpβ€Ž

Lines changed: 0 additions & 69 deletions
This file was deleted.

0 commit comments

Comments
Β (0)