Skip to content

Commit

Permalink
tbl_relation.php: check if $existrel_foreign is defined before using it
Browse files Browse the repository at this point in the history
Signed-off-by: Ann + J.M <phpMyAdmin@ZweiSteinSoft.de>
  • Loading branch information
ZweiSteinSoft committed Feb 3, 2014
1 parent f5b8267 commit ec1943b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tbl_relation.php
Expand Up @@ -149,7 +149,7 @@
// 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)) {
Expand Down

0 comments on commit ec1943b

Please sign in to comment.