Commit d112b3d9 authored by Till Brehm's avatar Till Brehm

Fixed #4549 Empty row in all empty tables

parent 86b3754d
......@@ -153,7 +153,7 @@ class listform_actions {
$records_new = array_slice($records_new, $app->listform->getPagingValue('offset'), $app->listform->getPagingValue('records_per_page'));
}
$app->tpl->setLoop('records', $records_new);
if(is_array($records_new) && count($records_new) > 0) $app->tpl->setLoop('records', $records_new);
$this->onShow();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment