This commit is contained in:
2024-08-07 12:16:42 +03:00
parent 4a12eeccfd
commit 1bd82eb40b
3 changed files with 4 additions and 4 deletions

View File

@ -39,7 +39,7 @@ class ViewJsonTable extends JasonTable
{
foreach ($this->data['meta']['rows'] as $key => $row){
if ($this->issetRow($key)){
if ($this->beforePrintCell and $this->dataJson[$key] !== null) {
if ($this->beforePrintCell) {
$this->dataJson[$key] = $this->getCustomCell($key, $this->dataJson[$key]);
}
$this->html .= "<tr><th>" . $row . "</th><td>" . $this->dataJson[$key] . "</td></tr>";