Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

tbl_relation.php: check if $existrel_foreign is defined before using it

Signed-off-by: Ann + J.M <phpMyAdmin@ZweiSteinSoft.de>
  • Loading branch information...
commit ec1943b0ed2d94b8c99552a7b19b08350020b6f5 1 parent f5b8267
@ZweiSteinSoft ZweiSteinSoft authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  tbl_relation.php
View
2  tbl_relation.php
@@ -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)) {
Please sign in to comment.
Something went wrong with that request. Please try again.