diff options
author | Ann + J.M <phpMyAdmin@ZweiSteinSoft.de> | 2014-02-03 17:16:54 +0400 |
---|---|---|
committer | Ann + J.M <phpMyAdmin@ZweiSteinSoft.de> | 2014-02-03 17:16:54 +0400 |
commit | ec1943b0ed2d94b8c99552a7b19b08350020b6f5 (patch) | |
tree | 33fb0882e85adfb3ed6e943f36d4e08c0d2382fa /tbl_relation.php | |
parent | f5b8267ed0c1ef8c91ce39284a9fb8de95609956 (diff) |
tbl_relation.php: check if $existrel_foreign is defined before using it
Signed-off-by: Ann + J.M <phpMyAdmin@ZweiSteinSoft.de>
Diffstat (limited to 'tbl_relation.php')
-rw-r--r-- | tbl_relation.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tbl_relation.php b/tbl_relation.php index 748fa40a6a..9be5f6260c 100644 --- a/tbl_relation.php +++ b/tbl_relation.php @@ -149,7 +149,7 @@ $columns = $GLOBALS['dbi']->getColumns($db, $table); // common form $html_output .= PMA_getHtmlForCommonForm( $db, $table, $columns, $cfgRelation, $tbl_storage_engine, $existrel, - $existrel_foreign, $options_array + isset($existrel_foreign) ? $existrel_foreign : null, $options_array ); if (PMA_Util::isForeignKeySupported($tbl_storage_engine)) { |