Index: trunk/extensions/ReaderFeedback/ReaderFeedback.class.php |
— | — | @@ -95,7 +95,7 @@ |
96 | 96 | $row = $db->selectRow( 'reader_feedback_history', |
97 | 97 | array('SUM(rfh_total)/SUM(rfh_count) AS ave, SUM(rfh_count) AS count'), |
98 | 98 | array( 'rfh_page_id' => $article->getId(), 'rfh_tag' => $tag, |
99 | | - "rfh_date >= {$cutoff_unixtime}" ), |
| 99 | + "rfh_date >= {$encCutoff}" ), |
100 | 100 | __METHOD__ ); |
101 | 101 | $data = $row && $row->count ? |
102 | 102 | array($row->ave,$row->count) : array(0,0); |