Report/SendEventErrors.php
authorAlan Knowles <alan@roojs.com>
Thu, 24 Mar 2016 04:22:54 +0000 (12:22 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 24 Mar 2016 04:22:54 +0000 (12:22 +0800)
Report/SendEventErrors.php

index f51440c..3562b7e 100644 (file)
@@ -128,7 +128,7 @@ class Pman_Admin_Report_SendEventErrors extends Pman_Roo
             DISTINCT(Events.action) AS action,
             COUNT(Events.id) AS total
         ");
-        $events->whereAdd('Eventsid > '. $min);
+        $events->whereAdd('Events.id > '. $min);
         
         $events->whereAdd("Events.event_when > NOW() - INTERVAL 1 DAY");