Skip to content

Commit

Permalink
Merge branch '3.4' into 4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
aryaantony92 committed Sep 14, 2023
2 parents 9f82559 + bce18c7 commit a3ec49f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/ActivityStore/MariaDb.php
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,8 @@ public function getActivitiesDataForWebservice($pageSize, $page, ExportActivitie
->addOrderBy('activityDate', 'asc');

if ($ts = $params->getModifiedSinceTimestamp()) {
$select->where('modificationDate >= ?', $ts);
$select->where('modificationDate >= ?');
$select->setParameters([$ts]);
}

$paginator = $this->paginator->paginate($select, $page, $pageSize);
Expand Down
3 changes: 2 additions & 1 deletion src/ActivityStore/MySQL.php
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,8 @@ public function getActivitiesDataForWebservice($pageSize, $page, ExportActivitie
->addOrderBy('activityDate', 'asc');

if ($ts = $params->getModifiedSinceTimestamp()) {
$select->where('modificationDate >= ?', $ts);
$select->where('modificationDate >= ?');
$select->setParameters([$ts]);
}

$paginator = $this->paginator->paginate($select, $page, $pageSize);
Expand Down

0 comments on commit a3ec49f

Please sign in to comment.