Changeset 758


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

Legend:

Unmodified
Added
Removed
  • trunk/Application/Version.php

    r757 r758  
    11<?php
    22
    3 $Revision = 757; // Subversion revision
     3$Revision = 758; // Subversion revision
    44$DatabaseRevision = 755; // SQL structure revision
    5 $ReleaseTime = strtotime('2015-10-25');
     5$ReleaseTime = strtotime('2015-10-26');
  • 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.