Changeset 726 for trunk/Modules/NetworkConfigRouterOS/Generators/Queue.php
- Timestamp:
- Jan 5, 2015, 10:01:40 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/NetworkConfigRouterOS/Generators/Queue.php
r724 r726 50 50 $InetInterface = $Config['MainRouter']['InetInterface']; 51 51 52 $DbResult = $System->Database->select('Service', '*', '(` ReplaceId` IS NULL) AND (`Id`='.TARIFF_FREE.')');52 $DbResult = $System->Database->select('Service', '*', '(`ChangeAction` IS NULL) AND (`Id`='.TARIFF_FREE.')'); 53 53 if($DbResult->num_rows == 1) 54 54 { … … 79 79 $DbResult4 = $System->Database->query('SELECT `Service`.*, `ServiceCustomerRel`.`Id` AS `RelId` FROM `ServiceCustomerRel` '. 80 80 'JOIN `Service` ON `Service`.`Id` = `ServiceCustomerRel`.`Service` '. 81 'WHERE (`ServiceCustomerRel`.`Customer` = '.$Member['Id'].') AND (`ServiceCustomerRel`.` Action` IS NULL) '.81 'WHERE (`ServiceCustomerRel`.`Customer` = '.$Member['Id'].') AND (`ServiceCustomerRel`.`ChangeAction` IS NULL) '. 82 82 'AND (`Service`.`InternetSpeedMax` > 0) AND (`Service`.`InternetSpeedMin` > 0)'); 83 83 while($Service = $DbResult4->fetch_assoc())
Note:
See TracChangeset
for help on using the changeset viewer.