Function does not handle null values even if it was documented to handle them
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
This commit is contained in:
parent
69cb461454
commit
efa06c360b
@ -170,14 +170,14 @@ function PMA_generateRelationalDropdown(
|
||||
/**
|
||||
* Function to get html for the common form
|
||||
*
|
||||
* @param string $db current database
|
||||
* @param string $table current table
|
||||
* @param array $columns columns
|
||||
* @param array $cfgRelation configuration relation
|
||||
* @param string $tbl_storage_engine table storage engine
|
||||
* @param array|null $existrel db, table, column
|
||||
* @param array|null $existrel_foreign db, table, column
|
||||
* @param array $options_array options array
|
||||
* @param string $db current database
|
||||
* @param string $table current table
|
||||
* @param array $columns columns
|
||||
* @param array $cfgRelation configuration relation
|
||||
* @param string $tbl_storage_engine table storage engine
|
||||
* @param array $existrel db, table, column
|
||||
* @param array $existrel_foreign db, table, column
|
||||
* @param array $options_array options array
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
|
||||
@ -154,7 +154,7 @@ $columns = $GLOBALS['dbi']->getColumns($db, $table);
|
||||
$html_output .= PMA_getHtmlForCommonForm(
|
||||
$db, $table, $columns, $cfgRelation, $tbl_storage_engine,
|
||||
isset($existrel) ? $existrel : array(),
|
||||
isset($existrel_foreign) ? $existrel_foreign['foreign_keys_data'] : null,
|
||||
isset($existrel_foreign) ? $existrel_foreign['foreign_keys_data'] : array(),
|
||||
$options_array
|
||||
);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user