?
avatar adamasantares
adamasantares
13 Jan 2016

Hi all.
I found a little typo in argument name of JControllerLegacy::display($cachable = false, $urlparams = array());
I think it should be "$cacheable"...

avatar adamasantares adamasantares - open - 13 Jan 2016
avatar roland-d
roland-d - comment - 13 Jan 2016

@adamasantares This is not really a typo because the variable name is named as such everywhere in the code. It may be a typo in the English spelling but not something that will be changed in the code as it has no real benefit. Thank you for your contribution.

avatar roland-d roland-d - change - 13 Jan 2016
Status New Closed
Closed_Date 0000-00-00 00:00:00 2016-01-13 12:57:44
Closed_By roland-d
avatar roland-d roland-d - close - 13 Jan 2016
avatar brianteeman brianteeman - close - 13 Jan 2016
avatar roland-d roland-d - close - 13 Jan 2016
avatar N6REJ
N6REJ - comment - 13 Jan 2016

@roland-d please reopen this, the OP is correct... I'll be submitting a PR momentarily.
There are 28 uses of $cacheable in 4 files and 101 uses of $cachable in 41 files.

avatar mbabker
mbabker - comment - 13 Jan 2016

If it were a class var or a parameter value (like that fix_adress thing in JSession), then leaving it alone would have to be the case because it's part of the API. Internal method variables like that one, just fix them. Ya, there's no benefit, but if someone wants to fix it what's the big deal?

avatar roland-d
roland-d - comment - 13 Jan 2016

@N6REJ No need to re-open this, as your PR will be leading once you submit it.

avatar N6REJ N6REJ - reference | c16c229 - 13 Jan 16
avatar N6REJ
N6REJ - comment - 13 Jan 2016

done ... #8896

avatar N6REJ N6REJ - reference | b3000a3 - 13 Jan 16
avatar N6REJ
N6REJ - comment - 13 Jan 2016

ok, hopefully I did it right this time.

avatar N6REJ
N6REJ - comment - 15 Jan 2016

done, just waiting for confirmation and testing.
Bear

On 1/13/2016 09:29, RolandD wrote:

@N6REJ https://github.com/N6REJ No need to re-open this, as your PR
will be leading once you submit it.


Reply to this email directly or view it on GitHub
#8891 (comment).

avatar brianteeman brianteeman - change - 8 Mar 2016
Labels Added: ?

Add a Comment

Login with GitHub to post a comment