Initialises $port_count if empty #1640

merged 1 commit into from Aug 7, 2015


None yet

3 participants

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
@f0o f0o merged commit c935759 into librenms:master Aug 7, 2015

2 checks passed

Auto-Deploy Build finished.
Scrutinizer No new issues
@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