Ignore:
Timestamp:
Oct 26, 2015, 8:29:45 AM (9 years ago)
Author:
chronos
Message:
  • Modified: Time ordering in sent notifications.
File:
1 edited

Legend:

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

    r757 r758  
    5555            'LEFT JOIN `NetworkInterface` ON `NetworkInterface`.`Id` = `NetworkInterfaceUpDown`.`Interface` '.
    5656            'LEFT JOIN `NetworkDevice` ON `NetworkDevice`.`Id` = `NetworkInterface`.`Device` '.
    57             'WHERE (`Time` > "'.$User['LastTime'].'") AND (`Time` <= "'.TimeToMysqlDateTime($Time).'") AND (`NetworkDevice`.`PermanentOnline`=1)');
     57            'WHERE (`Time` > "'.$User['LastTime'].'") AND (`Time` <= "'.TimeToMysqlDateTime($Time).'") '.
     58            'AND (`NetworkDevice`.`PermanentOnline`=1) ORDER BY `NetworkInterfaceUpDown`.`Time` DESC');
    5859          if($DbResult3->num_rows > 0) {
    5960            $Output .= 'Category '.$Category['Name'].":\n";
Note: See TracChangeset for help on using the changeset viewer.