Commit 216f3ebc authored by Víctor Dorado's avatar Víctor Dorado Committed by Sven Berg Ryen
Browse files

Issue #3270780 by vidorado, svenryen: "Invalid character in Config object name...

Issue #3270780 by vidorado, svenryen: "Invalid character in Config object name eu_cookie_compliance.cookie_category" in eu_cookie_compliance_update_8123
parent fd9b719e
Loading
Loading
Loading
Loading
+2 −0
Changes for eu_cookie_compliance.module: 2 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -637,6 +637,8 @@ function eu_cookie_compliance_theme($existing, $type, $theme, $path) {
function _eu_cookie_compliance_extract_category_key_label_description($string) {
  $categories = [];

  $string = trim(preg_replace('#>(\r\n)+\s*#', '', $string), "\r\n ");

  $list = explode("\n", $string);
  $list = array_map('trim', $list);
  $list = array_filter($list, 'strlen');