Skip to content

Commit

Permalink
Fixed issue #16674: Array Type:F: Column width falsely calculated
Browse files Browse the repository at this point in the history
Replaced getQuestionCount with getAnswerCount (Line 93)
  • Loading branch information
nadnx authored and eddylackmann committed Oct 19, 2020
1 parent a5db3c4 commit 982e542
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -90,7 +90,7 @@ public function __construct($aFieldArray, $bRenderDirect = false) {
}
}
if($this->getQuestionCount() > 0) {
$this->cellwidth = round(($this->columnswidth / $this->getQuestionCount()), 1);
$this->cellwidth = round(($this->columnswidth / $this->getAnswerCount()), 1);
}
$this->setHeaders();

Expand Down

0 comments on commit 982e542

Please sign in to comment.