Skip to content

Commit 7722f88

Browse files
committed
ACP2E-1972: revert visitor change
1 parent 84387b2 commit 7722f88

File tree

1 file changed

+5
-2
lines changed
  • app/code/Magento/Customer/Model/ResourceModel

1 file changed

+5
-2
lines changed

app/code/Magento/Customer/Model/ResourceModel/Visitor.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77

88
namespace Magento\Customer\Model\ResourceModel;
99

10+
/**
11+
* Class Visitor
12+
* @package Magento\Customer\Model\ResourceModel
13+
*/
1014
class Visitor extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb
1115
{
1216
/**
@@ -106,8 +110,7 @@ public function fetchCreatedAt(int $visitorId): ?int
106110
['created_at' => 'visitor_table.created_at']
107111
)->where(
108112
'visitor_table.visitor_id = ?',
109-
$visitorId,
110-
\Zend_Db::BIGINT_TYPE
113+
(string) $visitorId
111114
)->limit(
112115
1
113116
);

0 commit comments

Comments
 (0)