TemplateUsageTable: fix ipl compatibility
This commit is contained in:
parent
1e893e1bc7
commit
de2ad48c4f
|
@ -98,10 +98,9 @@ class TemplateUsageTable extends Table
|
|||
}
|
||||
|
||||
if ($used) {
|
||||
$this->generateHeader();
|
||||
$this->body()->add($rows);
|
||||
$this->add($rows);
|
||||
} else {
|
||||
$this->body()->add($this->translate('This template is not in use'));
|
||||
$this->add($this->translate('This template is not in use'));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue