Permalink
Browse files

Save bytes

  • Loading branch information...
1 parent 7291ae6 commit 56cd77f0d101de76bf59c934cfec59a848082f07 @vrana committed Jul 15, 2012
Showing with 1 addition and 3 deletions.
  1. +1 −3 adminer/table.inc.php
View
@@ -58,9 +58,7 @@
echo "(<i>" . implode("</i>, <i>", array_map('h', $foreign_key["target"])) . "</i>)";
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>';
- }
+ echo ($jush == "sqlite" ? "" : '<td><a href="' . h(ME . 'foreign=' . urlencode($TABLE) . '&name=' . urlencode($name)) . '">' . lang('Alter') . '</a>');
}
echo "</table>\n";
}

0 comments on commit 56cd77f

Please sign in to comment.