Skip to content

Commit f5b3718

Browse files
authored
Merge pull request #1230 from nextcloud/backport/1229/stable8
[stable8] (U) Fix to ClusterFacesJob.php in Instances with Numeric User IDs
2 parents c7d19b9 + 5fce506 commit f5b3718

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/BackgroundJobs/ClusterFacesJob.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public function __construct(ITimeFactory $time, Logger $logger, IJobList $jobLis
3838
*/
3939
protected function run($argument) {
4040
/** @var string $userId */
41-
$userId = $argument['userId'];
41+
$userId = (string) $argument['userId'];
4242
try {
4343
$this->clusterAnalyzer->calculateClusters($userId, self::BATCH_SIZE);
4444
} catch (\JsonException|Exception $e) {

0 commit comments

Comments
 (0)