diff --git a/templates/table/structure/display_table_stats.twig b/templates/table/structure/display_table_stats.twig index dca1f7a347..480aa15f07 100644 --- a/templates/table/structure/display_table_stats.twig +++ b/templates/table/structure/display_table_stats.twig @@ -117,7 +117,7 @@ {% if not is_innodb and showtable['Rows'] is defined %} {% trans 'Rows' %} - {{ format_number(showtable['Rows'], 0) }} + {{ format_number(showtable['Rows'] ?? 0, 0) }} {% endif %} @@ -145,7 +145,7 @@ {% if showtable['Auto_increment'] is defined %} {% trans 'Next autoindex' %} - {{ format_number(showtable['Auto_increment'], 0) }} + {{ format_number(showtable['Auto_increment'] ?? 0, 0) }} {% endif %}