Initialises $port_count if empty #1640

Merged
merged 1 commit into from Aug 7, 2015

Projects

None yet

3 participants

@laf
Member
laf commented Aug 7, 2015

Fix #1637

When no ports are found then $col_port isn't set, if this is not the first device in the list then it means it will inherit the previous devices $col_port variable.

I've chosen to just set $port_count to 0 rather than declare $col_port so it will show to the users 0 ports for that device.

@laf laf Initialises $port_count if empty
3188a86
@f0o f0o merged commit c935759 into librenms:master Aug 7, 2015

2 checks passed

Auto-Deploy Build finished.
Details
Scrutinizer No new issues
Details
@laf laf deleted the laf:issue-1637 branch Jan 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment