? Pending

User tests: Successful: Unsuccessful:

avatar Hackwar
Hackwar
15 Mar 2017

This simplifies the code slightly. The additional if() is unnecessary. The $strings variable is always defined and the if() does contain nothing else than yet another if(). This change is not really testable and requires a code review.

avatar Hackwar Hackwar - open - 15 Mar 2017
avatar Hackwar Hackwar - change - 15 Mar 2017
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 15 Mar 2017
Category Libraries
avatar bertmert bertmert - test_item - 15 Mar 2017 - Tested successfully
avatar bertmert
bertmert - comment - 15 Mar 2017

I have tested this item successfully on ee0b0a0


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

avatar Bakual
Bakual - comment - 15 Mar 2017

The $strings variable is always defined

That's true, but it isn't what is tested there. That check tests if $strings is boolean true, not if it is defined.

The code change itself should be fine, since is_array() will as well return false if $strings is still set to false (a few lines above).

This change is not really testable and requires a code review.

When I look at the code, that change should be testable by deleting/renaming a language file that is supposed to be loaded. If everything works and no errors logged then it is fine.

avatar rdeutz rdeutz - change - 27 May 2017
Labels Added: ?
avatar Quy
Quy - comment - 9 Nov 2017

Please fix conflicts. Thanks.

avatar Quy Quy - change - 29 Apr 2018
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2018-04-29 19:01:00
Closed_By Quy
avatar joomla-cms-bot joomla-cms-bot - change - 29 Apr 2018
Closed_By Quy joomla-cms-bot
avatar joomla-cms-bot
joomla-cms-bot - comment - 29 Apr 2018

Set to "closed" on behalf of @Quy by The JTracker Application at issues.joomla.org/joomla-cms/14653

avatar joomla-cms-bot joomla-cms-bot - close - 29 Apr 2018
avatar Quy
Quy - comment - 29 Apr 2018

See PR #20257


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

Add a Comment

Login with GitHub to post a comment