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

Commit e29dc04

Browse files
committed
Fix #6
1 parent f6a9f88 commit e29dc04

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
latest
2-
0.4.1
2+
0.4.2
33
0.4
44
0

php/core/Stats.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public function __construct( Template $temp, Login $login ) {
6666
private function displayContent(array $data) : void {
6767
$this->temp->setContent('COMBIDATA', json_encode($data['combi']));
6868
$this->temp->setContent('PLAINDATA', json_encode(array_slice($data['plain'], 0, self::MAX_PLAIN_ELEMENTS)));
69-
if(count($data['combi']) > self::MAX_PLAIN_ELEMENTS){
69+
if(count($data['plain']) > self::MAX_PLAIN_ELEMENTS){
7070
$this->temp->setContent('LESSDATADISABLE', '');
7171
}
7272
$this->temp->setContent('TABLEA', $this->arrayToTable($data['table']));

0 commit comments

Comments
 (0)