? Pending

User tests: Successful: Unsuccessful:

avatar N6REJ
N6REJ
27 Mar 2017

Pull Request for Issue # .

Summary of Changes

removed extra space and seemingly unnecessary &

Testing Instructions

diff html output with and without &

Expected result

no change.

Actual result

https://www.diffchecker.com/RBOmOouV ( the marked section is literally identical even though it says its not )
if a var_dump is done of the $item compared to & $item and then a diff of that there is no diff at all.

Documentation Changes Required

avatar N6REJ N6REJ - open - 27 Mar 2017
avatar N6REJ N6REJ - change - 27 Mar 2017
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 27 Mar 2017
Category Front End com_content
avatar N6REJ
N6REJ - comment - 27 Mar 2017

@wilsonge I believe you wrote that line?

avatar brianteeman
brianteeman - comment - 27 Mar 2017

Wouldnt it also therefore be wrong at line 79 as well?

avatar dgt41
dgt41 - comment - 27 Mar 2017

@N6REJ & means assign by reference, removing it and you are cloning the variable (slower)

avatar N6REJ
N6REJ - comment - 28 Mar 2017

@dgt41 oh ok.. so is it better as is, or as &$item ?

avatar Quy
Quy - comment - 10 Apr 2017

Do a search for $this->item = &$item; to find 7 instances. I would change $this->item = & $item; to $this->item = &$item; to match the others.

avatar rdeutz rdeutz - change - 27 May 2017
Labels Added: ?
avatar brianteeman
brianteeman - comment - 16 Aug 2017

for the reasons stated above by @dgt41 I am closing this as not a bug

avatar brianteeman brianteeman - change - 16 Aug 2017
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2017-08-16 20:52:12
Closed_By brianteeman
avatar brianteeman brianteeman - close - 16 Aug 2017

Add a Comment

Login with GitHub to post a comment