Skip to content
Snippets Groups Projects

Removing optional parameter

2 files
+ 8
2
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -681,7 +681,10 @@ function node_reference_field_widget_form(&$form, &$form_state, $field, $instanc
*
* @codingStandardsIgnoreStart
*/
function node_reference_autocomplete_value($element, $input = FALSE, $form_state) {
function node_reference_autocomplete_value($element, $input, $form_state) {
if (!isset($input)) {
$input = FALSE;
}
// @codingStandardsIgnoreEnd
if ($input === FALSE) {
// We're building the displayed 'default value': expand the raw nid into
Loading