Commit 643ace19 authored by Mahesh Sankhala's avatar Mahesh Sankhala Committed by David Pascoe-Deslauriers
Browse files

Issue #3277654 by msankhala: Notice: Trying to access array offset on value of type null

parent 9b32b486
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -124,7 +124,7 @@ class WSCallForm extends EntityForm {

    $triggering = $form_state->getTriggeringElement();

    if ($triggering['#id'] == 'wscall_new_method') {
    if (isset($triggering['#id']) && $triggering['#id'] == 'wscall_new_method') {
      $values = $form_state->getValues();
      $wscall_entity->setMethod($values['add_method'], $values['new_method_name'], $values['new_method_path']);
    }