? Success

User tests: Successful: Unsuccessful:

avatar Bakual
Bakual
28 Jun 2017

Currently, probably most admin modals are broken in 4.0 because of a broken component.php' template file and giveCall to a member function getTag() on string`

Summary of Changes

Changes the call so it uses $lang instead of $this->language. Same as done in index.php.

What I don't understand is why we don't just use the string $this->language. The only difference I see is that $lang->getTag() returns en-GB while $this->language is the lowercased variant en-gb. But maybe I miss something.

Testing Instructions

Test a modal or just apply &tmpl=component to an URL in backend.

Expected result

Works

Actual result

Exception Call to a member function getTag() on string

Documentation Changes Required

None

avatar Bakual Bakual - open - 28 Jun 2017
avatar Bakual Bakual - change - 28 Jun 2017
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 28 Jun 2017
Category Administration Templates (admin)
avatar mbabker
mbabker - comment - 28 Jun 2017

Duplicate of #16865

avatar Bakual
Bakual - comment - 28 Jun 2017

Ah shit ?

avatar Bakual Bakual - change - 28 Jun 2017
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2017-06-28 12:58:43
Closed_By Bakual
Labels Added: ?
avatar Bakual Bakual - close - 28 Jun 2017

Add a Comment

Login with GitHub to post a comment