diff --git a/db_structure.php b/db_structure.php
index b032ea9761..5a36a76d9b 100644
--- a/db_structure.php
+++ b/db_structure.php
@@ -356,23 +356,22 @@ foreach ($tables as $keyname => $each_table) {
$browse_table_label = '' . $truename . '';
if (! $db_is_information_schema) {
- if ($may_have_rows) {
- $empty_table = '';
-
- $empty_table .= $titles['Empty'];
- $empty_table .= '';
- } else {
- $empty_table = $titles['NoEmpty'];
+ $empty_table = '';
+ if ($may_have_rows) {
+ $empty_table .= $titles['Empty'];
+ } else {
+ $empty_table .= $titles['NoEmpty'];
+ }
+ $empty_table .= '';
// truncating views doesn't work
if ($table_is_view) {
$empty_table = ' ';