X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FCore%2FForm.php;h=a508f692226e905ab0d1916c29b2e2431412f797;hb=8f66d32c5d809c355ce9ecc67552a2b38208b222;hp=6d67ce875fe056495d8ad9523976baf73a865e5b;hpb=18cdd96c275e94571a2a1f4a500b1bd9cb12dc99;p=civicrm-core.git diff --git a/CRM/Core/Form.php b/CRM/Core/Form.php index 6d67ce875f..a508f69222 100644 --- a/CRM/Core/Form.php +++ b/CRM/Core/Form.php @@ -373,7 +373,7 @@ class CRM_Core_Form extends HTML_QuickForm_Page { // The $attributes param used to allow for strings and would default to an // empty string. However, now that the variable is heavily manipulated, // we should expect it to always be an array. - Civi::log()->warning('Attributes passed to CRM_Core_Form::add() are not an array.', ['civi.tag' => 'deprecated']); + CRM_Core_Error::deprecatedWarning('Attributes passed to CRM_Core_Form::add() are not an array.'); } // Fudge some extra types that quickform doesn't support $inputType = $type;