Permalink
Browse files

Use nbsp in foreign keys list

  • Loading branch information...
1 parent 5792eab commit b6be64e9c03b4131f14c0ec4627501bc357fb628 @vrana committed Apr 19, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 adminer/table.inc.php
View
@@ -53,8 +53,8 @@
echo "<th><i>" . implode("</i>, <i>", array_map('h', $foreign_key["source"])) . "</i>";
echo "<td><a href='" . h($foreign_key["db"] != "" ? preg_replace('~db=[^&]*~', "db=" . urlencode($foreign_key["db"]), ME) : ME) . "table=" . urlencode($foreign_key["table"]) . "'>$link</a>";
echo "(<i>" . implode("</i>, <i>", array_map('h', $foreign_key["target"])) . "</i>)";
- echo "<td>$foreign_key[on_delete]\n";
- echo "<td>$foreign_key[on_update]\n";
+ echo "<td>" . nbsp($foreign_key["on_delete"]) . "\n";
+ echo "<td>" . nbsp($foreign_key["on_update"]) . "\n";
if ($jush != "sqlite") {
echo '<td><a href="' . h(ME . 'foreign=' . urlencode($TABLE) . '&name=' . urlencode($name)) . '">' . lang('Alter') . '</a>';
}

0 comments on commit b6be64e

Please sign in to comment.