From: Jakub Vrana Date: Wed, 21 Aug 2019 12:19:48 +0000 (+0200) Subject: Do not display error for foreign keys to other databases X-Git-Tag: v4.7.3~7 X-Git-Url: https://git.joonet.de/?a=commitdiff_plain;h=f37a878b62fdbb9664dca3ca946067f830b8bc57;p=adminer.git Do not display error for foreign keys to other databases --- diff --git a/adminer/foreign.inc.php b/adminer/foreign.inc.php index c87728e6..811eb64b 100644 --- a/adminer/foreign.inc.php +++ b/adminer/foreign.inc.php @@ -48,17 +48,18 @@ if ($_POST) { $row["table"] = $TABLE; $row["source"] = array(""); } - -$source = array_keys(fields($TABLE)); //! no text and blob -$target = ($TABLE === $row["table"] ? $source : array_keys(fields($row["table"]))); -$referencable = array_keys(array_filter(table_status('', true), 'fk_support')); ?>

- -: - +