? Pending

User tests: Successful: Unsuccessful:

avatar tfrommen
tfrommen
1 Feb 2017

Summary of Changes

Hey there,

this pull request replaces the (strange) ternary (which should basically serve as an if expression) with an implicit conditional function call; two times. :)

avatar tfrommen tfrommen - open - 1 Feb 2017
avatar tfrommen tfrommen - change - 1 Feb 2017
Status New Pending
avatar tfrommen tfrommen - change - 1 Feb 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - change - 1 Feb 2017
Category Administration
avatar tfrommen tfrommen - change - 1 Feb 2017
The description was changed
avatar tfrommen tfrommen - edited - 1 Feb 2017
avatar csthomas
csthomas - comment - 1 Feb 2017

IMHO you can do the same for all joomla files.

avatar Bakual
Bakual - comment - 1 Feb 2017

Imho, current code is more readable. Allthough a real if clause would probably be even more readable in that case.

Your suggestion does look like kind of a hack to me even if it works.

avatar tfrommen tfrommen - change - 1 Feb 2017
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2017-02-01 23:02:07
Closed_By tfrommen
avatar tfrommen tfrommen - close - 1 Feb 2017

Add a Comment

Login with GitHub to post a comment