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

Commit fcd5654

Browse files
committed
Fix for Charts
1 parent 29da3ac commit fcd5654

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
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.0"
7+
"version" : "v1.0.1"
88
}

extensions/charts/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class Charts {
1414
* @param $output the CLI Output object
1515
*/
1616
public static function statsViewed(array $data, \CLIOutput $output) : void {
17-
if(empty($array)){
17+
if(empty($data)){
1818
return;
1919
}
2020
// plot categories

0 commit comments

Comments
 (0)