Revert modifications/error
Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
parent
d813e920ba
commit
c19dec2c47
@ -916,7 +916,6 @@ class InsertEdit
|
||||
. ' tabindex="' . ($tabindex + $tabindex_for_value) . '"'
|
||||
. ' id="field_' . $idindex . '_3">';
|
||||
$html_output .= $this->relation->foreignDropdown(
|
||||
$column,
|
||||
$foreignData['disp_row'],
|
||||
$foreignData['foreign_field'],
|
||||
$foreignData['foreign_display'],
|
||||
|
||||
@ -1286,7 +1286,6 @@ class Relation
|
||||
/**
|
||||
* Outputs dropdown with values of foreign fields
|
||||
*
|
||||
* @param array $column description of column in given table
|
||||
* @param array $disp_row array of the displayed row
|
||||
* @param string $foreign_field the foreign field
|
||||
* @param string $foreign_display the foreign field to display
|
||||
@ -1297,7 +1296,7 @@ class Relation
|
||||
*
|
||||
* @access public
|
||||
*/
|
||||
public function foreignDropdown($column, array $disp_row, $foreign_field, $foreign_display, $data,
|
||||
public function foreignDropdown(array $disp_row, $foreign_field, $foreign_display, $data,
|
||||
$max = null
|
||||
) {
|
||||
if (null === $max) {
|
||||
|
||||
@ -234,7 +234,6 @@ class Sql
|
||||
. '</a>';
|
||||
} else {
|
||||
$dropdown = $this->relation->foreignDropdown(
|
||||
array( 'is_binary' => false ),
|
||||
$foreignData['disp_row'],
|
||||
$foreignData['foreign_field'],
|
||||
$foreignData['foreign_display'],
|
||||
|
||||
Loading…
Reference in New Issue
Block a user