From 4f20be0d6caa1c7f5c36c7120af87f4ce88e602d Mon Sep 17 00:00:00 2001 From: Kamil Tekiela Date: Thu, 23 Feb 2023 21:59:59 +0000 Subject: [PATCH] Fix bug preventing opening information_schema Signed-off-by: Kamil Tekiela --- templates/table/structure/display_table_stats.twig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 %}