X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FUtils%2FRule.php;h=060967d8b917b2aaf559cbca8ec65ac51f475ef1;hb=52c503aac03bba16dff98f57d5647fb98168e9b7;hp=ada29634f103681acd754c6a7437286c99804876;hpb=83c95515f5cfa1e33da40b8d32054b60c338659b;p=civicrm-core.git diff --git a/CRM/Utils/Rule.php b/CRM/Utils/Rule.php index ada29634f1..060967d8b9 100644 --- a/CRM/Utils/Rule.php +++ b/CRM/Utils/Rule.php @@ -1,7 +1,7 @@ $item) { + if (is_array($item)) { + if (!self::xssString($key) || !self::arrayValue($item)) { + return FALSE; + } + } + if (!self::xssString($key) || !self::xssString($item)) { + return FALSE; + } + } + return TRUE; + } + }