Changeset 685


Ignore:
Timestamp:
Jan 11, 2005, 9:04:19 PM (19 years ago)
Author:
plg
Message:
  • bug fixed : use the constant to history table instead of hard coded table name
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/images/global_stats.img.php

    r675 r685  
    3838$imageWidth = 320;
    3939$sql = "SELECT DISTINCT COUNT(*), MONTH(date)
    40   FROM phpwg_history
     40  FROM ".HISTORY_TABLE."
    4141  WHERE (date > DATE_SUB(CURRENT_DATE(), INTERVAL 12 MONTH))
    4242  GROUP BY DATE_FORMAT(date,'%Y-%m') DESC;";
Note: See TracChangeset for help on using the changeset viewer.