You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And the weird thing is that $model and $colour_code were returning the results of $year. Not sure if it was to do with the Stack Trace and maybe the code was too close together.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey not sure if this is a bug or just an oddity...
Basically what I originally had was
And the weird thing is that $model and $colour_code were returning the results of $year. Not sure if it was to do with the Stack Trace and maybe the code was too close together.
So I changed it to instead using functions like
And in those functions just extracted the once code out
And it worked perfectly.
No issues on my side not that its working was more just curious if it was a bug or a pitfall of using the stack trace.
Beta Was this translation helpful? Give feedback.
All reactions