Dotclear


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • inc/core/class.dc.log.php

    r0 r126  
    8585          } 
    8686           
    87           if (!empty($params['order']) && !$count_only) { 
    88                $strReq .= 'ORDER BY '.$this->core->con->escape($params['order']).' '; 
    89           } else { 
    90                $strReq .= 'ORDER BY log_dt DESC '; 
     87          if (!$count_only) 
     88          { 
     89               if (!empty($params['order'])) { 
     90                    $strReq .= 'ORDER BY '.$this->core->con->escape($params['order']).' '; 
     91               } else { 
     92                    $strReq .= 'ORDER BY log_dt DESC '; 
     93               } 
    9194          } 
    9295           
Note: See TracChangeset for help on using the changeset viewer.

Sites map