-
-
Notifications
You must be signed in to change notification settings - Fork 406
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: uninitialized value #6912
fix: uninitialized value #6912
Conversation
This code was to have a special share button on some browsers, it was a feature @hangy added 6 years ago. On Android on Chrome, it displays a "Share" button at the bottom of the screen. We should fix the link though. It would be good to add some comments so that we remember what it is, I had completely forgotten about it. |
Add conditional as without it this will make a dead link resulting in a 404
4f2e51b
to
401e232
Compare
OK, this should give the code a functional link. Does this seem right to you? |
Yes, definitely! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Kudos, SonarCloud Quality Gate passed! |
Add conditional as without it this will make a dead link resulting in a 404
It is not clear to me what the link in this section does and it is not visible on the page. It may be used for search engines?
If
$request_ref->{current_link_query_display}
isn't defined, and we select the link in the source, it leads to a 404. As it stands without that defined it appears to be broken, though I'm not certain that we don't want this information here even with a dead link. Perhaps we want something more like$request_ref->{current_link}
?