Ignore:
Timestamp:
Dec 27, 2015, 10:55:57 AM (9 years ago)
Author:
chronos
Message:
  • Modified: Do not send notification about network state of interfaces without IP address.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/Notify/Notify.php

    r768 r772  
    4545      '`NetworkInterface`.`Online`, `NetworkInterface`.`LastOnline` FROM `NetworkInterface` '.
    4646      'LEFT JOIN `NetworkDevice` ON `NetworkDevice`.`Id` = `NetworkInterface`.`Device` '.
    47       $Condition.' AND (`NetworkDevice`.`PermanentOnline`=1) AND (`NetworkDevice`.`Used`=1) '.
     47      $Condition.' AND (`NetworkDevice`.`PermanentOnline`=1) AND (`NetworkDevice`.`Used`=1) AND '.
     48      '(`NetworkInterface`.`LocalIP` != "") '.
    4849      'ORDER BY `Name` ASC');
    4950    if($DbResult3->num_rows > 0) {
Note: See TracChangeset for help on using the changeset viewer.