https://bugzilla.wikimedia.org/show_bug.cgi?id=39875

       Web browser: ---
             Bug #: 39875
           Summary: Array values for attributes in Html::element cause PHP
                    notice.
           Product: MediaWiki
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: General/Unknown
        AssignedTo: [email protected]
        ReportedBy: [email protected]
    Classification: Unclassified
   Mobile Platform: ---


Found by SPQRobin.

Notice: Array to string conversion in
/home/robin/public_html/mw/dev/includes/Html.php on line 328":
the classes attribute should be passed as a string instead of an array.
Introduced in c13632.

Seems to be because Html::dropDefaults() calls strval() on all attribute
values, but Html allows arrays as attribute values, which causes a problem.
Change to soon be in gerrit.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to