No Code Attached Yet
avatar PhilETaylor
PhilETaylor
11 Oct 2020

Steps to reproduce the issue

Code review

English:
if $this->split is not set we do some math... and then immediately overwrite the result of the math but going and checking $this->split again and if its not set, hard coding a 3....

That makes no sense?

avatar PhilETaylor PhilETaylor - open - 11 Oct 2020
avatar joomla-cms-bot joomla-cms-bot - change - 11 Oct 2020
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 11 Oct 2020
avatar PhilETaylor PhilETaylor - change - 11 Oct 2020
Title
[2] Code logic makes no sense in ColorField
[4] Code logic makes no sense in ColorField
avatar PhilETaylor PhilETaylor - edited - 11 Oct 2020
avatar wilsonge wilsonge - change - 18 Dec 2020
Title
[4] Code logic makes no sense in ColorField
Code logic makes no sense in ColorField
avatar wilsonge wilsonge - edited - 18 Dec 2020
avatar wilsonge
wilsonge - comment - 18 Dec 2020

Removed the J4 tag on this issue as it's an issue since #11030 so affects all of 3.x too

avatar wilsonge
wilsonge - comment - 18 Dec 2020

So I thought about reverting that to the local variable. But given the class property is 3 by default. I have a feeling the 'maths' is just total junk - I can't think of a way $this->split can ever be false

avatar PhilETaylor PhilETaylor - change - 7 Mar 2022
Status New Closed
Closed_Date 0000-00-00 00:00:00 2022-03-07 18:39:03
Closed_By PhilETaylor
Labels Added: No Code Attached Yet
Removed: ?
avatar PhilETaylor PhilETaylor - close - 7 Mar 2022

Add a Comment

Login with GitHub to post a comment