]> git.joonet.de Git - adminer.git/commitdiff
Use nbsp() for possibly empty values
authorJakub Vrana <jakub@vrana.cz>
Fri, 9 Jul 2010 13:10:53 +0000 (15:10 +0200)
committerJakub Vrana <jakub@vrana.cz>
Fri, 9 Jul 2010 13:10:53 +0000 (15:10 +0200)
adminer/db.inc.php

index 89b69b8aaa6ab449d76c950a22db2afe3a4d0ac8..bc67f4a4ad7579ea33df2002cc5db8acdb6d3370 100644 (file)
@@ -70,8 +70,8 @@ if ($_GET["ns"] !== "") {
                        echo (support("comment") ? "<td id='Comment-" . h($name) . "'>&nbsp;" : "");
                }
                echo "<tr><td>&nbsp;<th>" . lang('%d in total', count($tables_list));
-               echo "<td>" . $connection->result("SELECT @@storage_engine");
-               echo "<td>" . db_collation(DB, collations());
+               echo "<td>" . nbsp($connection->result("SELECT @@storage_engine"));
+               echo "<td>" . nbsp(db_collation(DB, collations()));
                foreach ($sums as $key => $val) {
                        echo "<td align='right' id='sum-$key'>&nbsp;";
                }