diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/SegmentEditor/Model.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/SegmentEditor/Model.php b/plugins/SegmentEditor/Model.php index f876d2a46c..dcd18c1e3b 100644 --- a/plugins/SegmentEditor/Model.php +++ b/plugins/SegmentEditor/Model.php @@ -139,7 +139,7 @@ class Model public function getSegmentsDeletedSince(Date $date) { $dateStr = $date->getDatetime(); - $sql = "SELECT DISTINCT definition, enable_only_idsite FROM " . Common::prefixTable('segment') + $sql = "SELECT DISTINCT `definition`, `enable_only_idsite`, `hash` FROM " . Common::prefixTable('segment') . " WHERE deleted = 1 AND ts_last_edit >= ?"; $deletedSegments = Db::fetchAll($sql, array($dateStr)); |