Changeset 214 for trunk/system/generators/traffic_shaping_routerboard.php
- Timestamp:
- May 11, 2009, 9:28:16 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/system/generators/traffic_shaping_routerboard.php
r213 r214 75 75 $Commands[] = ' /queue tree add name='.$Member['Name'].'-in limit-at='.$SpeedOut.' max-limit='.$UserMaxSpeedOut.' parent=main-in queue=wireless-default'; 76 76 77 $DbResult2 = $Database->select('NetworkDevice', 'COUNT(*)', ' Member='.$Member['Id']);77 $DbResult2 = $Database->select('NetworkDevice', 'COUNT(*)', 'Used = 1 AND Member='.$Member['Id']); 78 78 $Row = $DbResult2->fetch_row(); 79 79 $HostCount = $Row[0]; … … 88 88 } 89 89 90 $DbResult2 = $Database->select('NetworkDevice', '*', ' Member = '.$Member['Id']);90 $DbResult2 = $Database->select('NetworkDevice', '*', 'Used = 1 AND Member = '.$Member['Id']); 91 91 while($Device = $DbResult2->fetch_assoc()) 92 92 {
Note:
See TracChangeset
for help on using the changeset viewer.