Skip to content

Commit 841439f

Browse files
Changes by review
Co-authored-by: Christoph Wurst <ChristophWurst@users.noreply.github.com> Signed-off-by: Mikhail Kotelnikov <fox@woland.me>
1 parent de3a340 commit 841439f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/dav/lib/Migration/BuildSocialSearchIndexBackgroundJob.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ private function buildIndex($offset, $stopAt) {
7272
foreach ($social_cards as $contact) {
7373
$offset = $contact['id'];
7474
$cardData = $contact['carddata'];
75-
if (is_resource($cardData) && (get_resource_type($cardData) == 'stream')) {
75+
if (is_resource($cardData) && (get_resource_type($cardData) === 'stream')) {
7676
$cardData = stream_get_contents($cardData);
7777
}
7878
$this->davBackend->updateCard($contact['addressbookid'], $contact['uri'], $cardData);

0 commit comments

Comments
 (0)