Skip to content

Commit 48b535b

Browse files
committed
BUGFIX: do not crash if e.g. a page is called '404' in Redirects
1 parent a198cfd commit 48b535b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Classes/Transfer/ContentReleaseSynchronizer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ protected function transferHashKeyIncrementally(\Redis $sourceRedis, \Redis $tar
134134
$numberOfBatches++;
135135
$targetPipeline = $targetRedis->pipeline(); // we don't care for the replies or for transactionality; so we use pipelining instead of MULTI
136136
foreach ($arr_keys as $hashKey => $hashValue) {
137-
$targetPipeline->hSet($keyToTransfer, $hashKey, $hashValue);
137+
$targetPipeline->hSet($keyToTransfer, (string)$hashKey, $hashValue);
138138
}
139139
$targetPipeline->exec();
140140
}

0 commit comments

Comments
 (0)