Failure

User tests: Successful: Unsuccessful:

avatar FoTo50
FoTo50
23 Jul 2018

Pull Request for Issue #21216 .

Summary of Changes

In ./libraries/src/HTML/HTMLHelper.php at line 610 it writes:
if (!is_array($attribs))
but should better be
if (!is_array($attribs) || !is_array($options))

Reason

An old extension adding stylesheets the (very) old way like
JHTML::stylesheet('filename','path-to-file');
will obviously not add the stylesheet but still create several "illegal string offset" notices instead of better eventually add a deprecated message to flog

In Joomla4 it is also, but on line 699 (alpha3) or line 675 (alpha4) ... is a seperate PR required for this?

avatar FoTo50 FoTo50 - open - 23 Jul 2018
avatar FoTo50 FoTo50 - change - 23 Jul 2018
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 23 Jul 2018
Category Repository SQL Administration com_admin Postgresql MS SQL com_banners com_categories com_contact com_content com_fields com_finder com_installer com_joomlaupdate com_languages
avatar wojsmol
wojsmol - comment - 23 Jul 2018

@FoTo50 This PR is invalid as you trying merge 3.9-dev branch to staging.
@franz-wohlkoenig Please close this PR.

avatar joomla-cms-bot joomla-cms-bot - change - 23 Jul 2018
Closed_By franz-wohlkoenig joomla-cms-bot
avatar joomla-cms-bot joomla-cms-bot - close - 23 Jul 2018
avatar franz-wohlkoenig franz-wohlkoenig - change - 23 Jul 2018
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2018-07-23 16:42:13
Closed_By franz-wohlkoenig
avatar joomla-cms-bot
joomla-cms-bot - comment - 23 Jul 2018
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 23 Jul 2018

Closed as stated above.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/21236.

avatar joomla-cms-bot joomla-cms-bot - change - 23 Jul 2018
Category Repository SQL Administration com_admin Postgresql MS SQL com_banners com_categories com_contact com_content com_fields com_finder com_installer com_joomlaupdate com_languages Administration com_categories com_contact com_content com_menus com_newsfeeds Language & Strings Libraries Modules Front End

Add a Comment

Login with GitHub to post a comment