? Success

User tests: Successful: Unsuccessful:

avatar izharaazmi
izharaazmi
3 Dec 2015

This fixes two things:

  • First, undefined variable $skins in the switch cases at the end of this method when isSite and isAdmin both fails (please don't say this can't happen).
  • Second, minimize the code by providing fallback value once.
avatar izharaazmi izharaazmi - open - 3 Dec 2015
avatar izharaazmi izharaazmi - change - 3 Dec 2015
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 3 Dec 2015
Labels Added: ?
avatar dgt41
dgt41 - comment - 3 Dec 2015

@izharaazmi there is also #8544

avatar izharaazmi
izharaazmi - comment - 3 Dec 2015

@dgt41 Okay. But I see that PR assumes all clients which are not admin must be site.

I always try to discourage this assumption in my team and hope I can some day convince the community too. Currently this wrong assumption is everywhere in the CMS. I'll try to remove them all.

Not all non-males are females and vice-versa. These are not boolean.

Otherwise that PR (#8544) looks fine.

avatar izharaazmi
izharaazmi - comment - 5 Jan 2016

This PR may be closed in favor of the other similar one #8544

avatar izharaazmi izharaazmi - change - 5 Jan 2016
Title
Fix undefined variable $skin and minimize code in tinymnce
Fix undefined variable $skin and minimize code in tinymce
avatar izharaazmi izharaazmi - change - 5 Jan 2016
Title
Fix undefined variable $skin and minimize code in tinymce
Fix undefined variable $skin and minimize code in TinyMCE
avatar brianteeman brianteeman - change - 11 Mar 2016
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2016-03-11 22:34:36
Closed_By brianteeman
avatar brianteeman
brianteeman - comment - 11 Mar 2016

Closed as requested


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

avatar brianteeman brianteeman - close - 11 Mar 2016

Add a Comment

Login with GitHub to post a comment