Huge rewrite:
[mailer.git] / inc / modules / admin / what-email_archiv.php
index cc64a19bff1cafa304bed4d8f9b1b873e3d18ecc..083402062f66e90aa288f87f3380cbda3fd0c0b4 100644 (file)
@@ -51,7 +51,7 @@ ADD_DESCR('admin', __FILE__);
 //             0     1        2      3        4          5           6          7      8         9        10
 $sql = "SELECT id, sender, subject, text, receivers, payment_id, data_type, timestamp, url, target_send, cat_id
  FROM `{!_MYSQL_PREFIX!}_pool`
- WHERE data_type='SEND' OR data_type='DELETED'
+ WHERE `data_type`='SEND' OR `data_type`='DELETED'
  ORDER BY timestamp DESC";
 
 // Check for maximum pages