Skip to content

Commit

Permalink
bugfix deprecated strlen null in test
Browse files Browse the repository at this point in the history
  • Loading branch information
fhelfer authored and kergomard committed Sep 28, 2023
1 parent 04e65f1 commit 77d09e0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ public function fillRow(array $a_set): void
foreach ($this->getSelectedColumns() as $c) {
if (strcmp($c, 'description') == 0) {
$this->tpl->setCurrentBlock('description');
$this->tpl->setVariable("QUESTION_COMMENT", (strlen($a_set["description"])) ? $a_set["description"] : " ");
$this->tpl->setVariable("QUESTION_COMMENT", (isset($a_set["description"]) && $a_set["description"] != '') ? $a_set["description"] : " ");
$this->tpl->parseCurrentBlock();
}
if (strcmp($c, 'type') == 0) {
Expand Down

0 comments on commit 77d09e0

Please sign in to comment.