Commit 83d7a973 authored by Leigh Stoller's avatar Leigh Stoller

Jay wants an empty channel list displayed if no nodes allocated on a

floor.
parent 5713fac4
......@@ -80,6 +80,11 @@ while ($row = mysql_fetch_array($query_result)) {
$node_id = $row["node_id"];
$locfloor = $row["floor"];
# Make sure an empty list is displayed if nothing allocated on a floor.
if (!isset($channels[$locfloor])) {
$channels[$locfloor] = array();
}
if (!isset($channel))
continue;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment