Skip to content

Commit 7602145

Browse files
committed
refactor: remove unneeded if condition
1 parent c9798b6 commit 7602145

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

system/View/Table.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ public function generate($tableData = null)
381381
$cell = $cell['data'] ?? '';
382382
$out .= $temp;
383383

384-
if ($cell === '' || $cell === null) {
384+
if ($cell === '') {
385385
$out .= $this->emptyCells;
386386
} elseif (isset($this->function)) {
387387
$out .= ($this->function)($cell);

0 commit comments

Comments
 (0)