TemplateUsageTable: fix ipl compatibility

This commit is contained in:
Thomas Gelf 2019-09-16 11:16:42 +02:00
parent 1e893e1bc7
commit de2ad48c4f
1 changed files with 2 additions and 3 deletions

View File

@ -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'));
}
}