Commit 1448e01c authored by Eli's avatar Eli Committed by Jacob Rockowitz
Browse files

Issue #3279930 by 3li: Deprecated function: strpos(): Passing null to...

Issue #3279930 by 3li: Deprecated function: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in webform_requirements()
parent f1fe3aff
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -172,7 +172,7 @@ function webform_requirements($phase) {
  foreach ($config_factory->listAll('webform.webform.') as $webform_config_name) {
    $webform_config = $config_factory->getEditable($webform_config_name);
    $data = $webform_config->getRawData();
    if (strpos($data['elements'], 'datepicker')) {
    if (isset($data['elements']) && strpos($data['elements'], 'datepicker')) {
      $has_datepicker = TRUE;
      break;
    }