diff options
author | diosmosis <benaka@piwik.pro> | 2015-10-07 03:48:11 +0300 |
---|---|---|
committer | diosmosis <benaka@piwik.pro> | 2015-10-12 21:05:36 +0300 |
commit | f34f4ce4b71e4fa97cd5c1b6ce37ee6553a70cf4 (patch) | |
tree | d32a2ebcd76814fbd2a6eebe7166c1db3322a253 /core/DataAccess | |
parent | 76f2b0e8db97f9c759bd4e3f8ef17a200ee329ee (diff) |
Added ArchiveInvalidator tests and got them to pass.
Diffstat (limited to 'core/DataAccess')
-rw-r--r-- | core/DataAccess/Model.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/DataAccess/Model.php b/core/DataAccess/Model.php index d7aebe7206..da75963e10 100644 --- a/core/DataAccess/Model.php +++ b/core/DataAccess/Model.php @@ -117,6 +117,7 @@ class Model foreach ($periods as $period) { $dateConditions[] = "(date1 <= ? AND ? <= date2)"; $bind[] = $period->getDateStart()->toString(); + $bind[] = $period->getDateStart()->toString(); } $periodConditions[] = "(period = ? AND (" . implode(" OR ", $dateConditions) . "))"; |