pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/phpipam/phpipam/pull/4521

assets/global-68dd150ce6c8e711.css" /> Fix: line 57 for undefined $q, also changed wording for consistency. by Chaos-man · Pull Request #4521 · phpipam/phpipam · GitHub
Skip to content

Fix: line 57 for undefined $q, also changed wording for consistency.#4521

Merged
GaryAllan merged 1 commit intophpipam:developfrom
Chaos-man:fix/undefined-q-var
Mar 17, 2026
Merged

Fix: line 57 for undefined $q, also changed wording for consistency.#4521
GaryAllan merged 1 commit intophpipam:developfrom
Chaos-man:fix/undefined-q-var

Conversation

@Chaos-man
Copy link

Warning: [07-Nov-2025 17:44:47 UTC] PHP Warning: Undefined variable $q in /var/www/phpipam/app/subnets/scan/subnet-scan-execute-snmp-route-all.php on line 57

Summary

  • Fixed line 57 for undefined $q warning.
  • Does the word matter? For the logic of the foreach loop, no. For writing clear, maintainable code, yes, absolutely.
  • Changed "get_vlan_table" to "get_routing_table" to accurately reflect the data being stored.
  • The second loop still works because foreach ($device as $query_result) iterates over the values of the $device array, regardless of what the keys are named. (So no change in code)

@GaryAllan GaryAllan changed the base branch from master to develop November 19, 2025 15:54
@GaryAllan GaryAllan merged commit 4dc87f8 into phpipam:develop Mar 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy